set expiration for requests

This commit is contained in:
Maximilian Keßler 2023-11-09 13:46:33 +01:00
parent 3dd41c65f4
commit c931c9e3db
Signed by: max
GPG key ID: BCC5A619923C0BA5

View file

@ -4,7 +4,7 @@ import json
import csv import csv
import pandas import pandas
session = requests_cache.CachedSession('.hanab-live.cache') session = requests_cache.CachedSession('.hanab-live.cache',expire_after=300)
player_mapping = { player_mapping = {
'RamaNoVarjan': 'Ramanujan', 'RamaNoVarjan': 'Ramanujan',