You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The scrapers cache the result of read_seasons(). Therefore, users might get a KeyError: ['<season>'] not in index if they forget to empty the cache when new seasons become available. A proper exception should be raised in such a case with a hint to empty the cache.
The text was updated successfully, but these errors were encountered:
- Reduce unnecessary scraping by attempting to read previous seasons from cache. Like probberechts#97 , this can be problematic at season start (in this case if a previous season hasn't been fully cached).
- Keep consistency with other FBref methods
- Reduce unnecessary scraping by attempting to read previous seasons from cache. Like #97 , this can be problematic at season start (in this case if a previous season hasn't been fully cached).
- Keep consistency with other FBref methods
The scrapers cache the result of
read_seasons()
. Therefore, users might get aKeyError: ['<season>'] not in index
if they forget to empty the cache when new seasons become available. A proper exception should be raised in such a case with a hint to empty the cache.The text was updated successfully, but these errors were encountered: