Tool to scrape match event data from Whoscored's chalkboard using Selenium.
Installation:
-
git clone https://github.com/Ali-Hasan-Khan/Scrape-Whoscored-Event-Data.git
-
pip install -r requirements.txt
-
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]
-
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.