Skip to content

Python webscraper with simple userform/ GUI to download AFL tipping competiton data from ESPN footy tips (www.footytips.com.au)

License

Notifications You must be signed in to change notification settings

andrewtwort/footy_tips_scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESPN footy tips scraper

Python webscraper with simple userform/ GUI to download AFL tipping competiton data from ESPN footy tips (www.footytips.com.au). Script currently will fetch data for a single round at a time but could easily be run in a loop to get data from all rounds

Features

  • Written in Python (using Selenium and a Chrome webdriver)
  • Simple user form (GUI using the Tkinter library)
  • CSV exports

Usage

This script has been previously used for the 2018 and 2019 AFL footy tipping seasons with minor modifications. Given minimal interface changes to the 2020 website we suspect it will work for the 2020 season as well.

Key parameters

  • Users will need to edit the script (lines 13 and 14) with their unique competition ID's which can be found in the competition URL onced logged in via the footy tips website
  • The image below highlights in yellow where these parameters can be found

  • Users will also need to enter their login credentials into the user form (GUI window) to run the script. Alternatively the placeholder values in the script can be updated (lines 46 and 47) for those willing to store plain text. Note: the user form/ GUI will not show the users password in plain text and instead will be hidden with asterisks

Prerequisites

  • Selenium
  • Tkinter
  • Numpy
  • Pandas

Limits

  • Be polite with your requests
  • This script was created with the intented frequency of one call per week during the footy tipping season

Sample screens

User form/ GUI Leaderboard CSV Tips CSV
Simple user form with credentials and round fields CSV export with competition leaderboard for each round appended into a master file CSV export with all competition tips for each round appended into a master file

License

MIT © Andrew Twort

About

Python webscraper with simple userform/ GUI to download AFL tipping competiton data from ESPN footy tips (www.footytips.com.au)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages