Pieter Robberechts
Pieter Robberechts
Atomic-VAEP assigns value to passes without explicitly knowing the immediate outcome of the pass. Instead, it learns the expected outcome based on historical data, and the pass’s value reflects this...
Thanks. This is a bug in the code that sets the default seasons. https://github.com/probberechts/soccerdata/blob/4cf2debc2d4946be86ea6decdbe9d87380119cb8/soccerdata/_common.py#L474-L477 If you explicitly provide the seasons for which you want to retrieve data, it works. ```py...
It looks like FBref now checks for the Sec-CH-UA request header. The following seems to work for me: ```py import tls_requests url = "https://fbref.com/en/comps/" headers = { # "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",...
No, it won't break anything. A more generic solution would be to use something like Django's [`slugify()`](https://docs.djangoproject.com/en/4.0/_modules/django/utils/text/#slugify) function.