Web scraper that scrapes all sorts of data from the Premier League website
- Python 3.7.3 or higher
- requests 2.21.0 or higher
- Install the
requests
module. This is commonly done by runningpip3 install requests
in your terminal. - Download the
pl_scraper.py
script and place it in the same directory as your program. - At the top of your program, type
import pl_scraper as pl
. - Get Premier League information to your heart's desire! (try running pl.matchweek() for all the details about the current matchweek!)
Configurable setting can be found in the first couple of lines of the script. They are mainly for developer purposes. Do not change them unless you know what you are doing!
Returns all the teams in the current season of the Premier League
Returns the matchweek number and all the matches in the current matchweek in a list
Returns information about the given match
Returns information about the given player
This program uses data from the Premier League website.
This program is not affiliated with or endorsed by the Premier League.
The Premier League retains all rights to the data scraped by this program.