probberechts / soccerdata

⛏⚽ Scrape soccer data from Club Elo, ESPN, FBref, FiveThirtyEight, Football-Data.co.uk, FotMob, Sofascore, SoFIFA, Understat and WhoScored.
https://soccerdata.readthedocs.io/en/latest/
Other
511 stars 87 forks source link

[WhoScored] Sorry, you have been blocked You are unable to access whoscored.com | Cloudflare #603

Closed pranavm28 closed 2 weeks ago

pranavm28 commented 3 weeks ago

Getting blocked by WhoScored from scraping data. Was working fine less than 24 hrs ago. Issue came up for the first time like 14 hrs ago.

Any possible fix to this? Thanks!

probberechts commented 2 weeks ago

The scraper still seems to work fine for me. However, WhoScored has some very strong protection against scraping. Likely, you will eventually get blocked if you scrape large amounts of data in a short amount of time. To avoid this, you can use a proxy server as explained in the docs. Note that using tor won't work well though for WhoScored. It is easily detected.