Skip to content

Ali-Hasan-Khan/Scrape-Whoscored-Event-Data

Repository files navigation

Scraping Whoscored Event Data

alt text

Tool to scrape match event data from Whoscored's chalkboard using Selenium.

Installation:

  1. git clone https://github.com/Ali-Hasan-Khan/Scrape-Whoscored-Event-Data.git

  2. pip install -r requirements.txt

  3. For some additional visual customisations replace linecollection.py with the one present in mplsoccer folder on your machine (somewhere here: ~\anaconda3\Lib\site-packages\mplsoccer). [Recommended for inverted gradient effect in pass maps]

  4. Follow tutorial.ipynb for guide.

Reach me here for any kind of help :)

Special thanks to Laurie Shaw for Expected Possession Value model (check out his work here).

For any help/suggestion regarding mplsoccer reach out to the creators: Andy, Anmol.