Reads the past 5 years of betting history from betmma.tips and creates a csv file with the data.
Currently takes about 25 minutes to run.
to run it:
py scraper.py
Open scraper.py and change line 11 to true.
testing = False # Set to True for testing with limited data
- only scrapes the first 5 links
- saves data to test.csv file
- prints test mode message on the screen
- takes under a minute to test changes instead of the 25 minutes it takes to run the script.