Whenever I look for a new data source on the NFL or daily fantasy betting, I find a bunch of sad souls that don’t realize how easy it is to scrape data. People always want excel workbooks that already have all the data they need modeled up and ready to go but unfortunately they have to pay for that. In this post I hope to get you sold on web scraping and give you the tools and examples needed to get started with creating your own sports data “trading” firm.
Scrape Code for DraftKings or FanDuel
That’s it. A whopping 13 lines to scrape 20,546 draft kings’ player salaries and 51 pages and it took 20 minutes for me to do it start to finish — video tutorial here. From here you have a few options:
- Learn how to download any data you could ever want by watching the video and using my github link (4-10 hours to acquire the basic skills).
- Cheat and download the dataset (2 seconds)
- Use my sports data service Sports Data Direct (Receive immediate access; 34.95/month)
- Or you could just continue being a scavenger like homes over hereWhatever you choose is fine but if you do choose the Han Solo route buy me a beer.