soccerdata
soccerdata copied to clipboard
[General] Update cached seasons
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.