Skip to content

Data scraping script developed using Scrapy to collect dog race data from fasttrack.grv.org.au

Notifications You must be signed in to change notification settings

ekkyarmandi/fasttrack-scrapy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fasttrack Data Scraping

Data scraping script developed using Scrapy to collect dog race data from fasttrack.grv.org.au

This project one is one of my data scraping experience in my career. You can find my other data scraping project in the list below:

*The rest will come*

Todo

  • Develop the race schedule scraper
  • Develop the details scraper

How to run

  1. (Optional) Create a virtual environtment
python -m venv .venv
  1. Install the dependencies
pip install -r requirements.txt
  1. Define the from_date and to_date inside the fasttrack.py
class FastTrackCrawler(scrapy.Spider):
    name = "fasttrack"
    allowed_domains = ["fasttrack.grv.org.au"]
    from_date = datetime(2018, 1, 1)  # <- Define here
    to_date = datetime(2023, 9, 22)  # <- Define here
    dates = []

    def generate_params(self, from_date: str, to_date: str, page: int = 1):
    ...
  1. Run the script
python fasttrack.py

About

Data scraping script developed using Scrapy to collect dog race data from fasttrack.grv.org.au

Topics

Resources

Stars

Watchers

Forks

Languages