1
0

Fix caching

This commit is contained in:
Jon Michael Aanes 2024-10-24 23:51:55 +02:00
parent f82b7c8526
commit 83208fd6ef
Signed by: Jmaa
SSH Key Fingerprint: SHA256:Ab0GfHGCblESJx7JRE4fj4bFy/KRpeLhi41y4pF3sNA

View File

@ -63,12 +63,6 @@ class PsnProfilesScraper(Scraper):
self.session,
URL_API_ROOT,
per_minute=5,
expire_after=datetime.timedelta(hours=1),
)
requests_util.setup_limiter(
self.session,
URL_API_ROOT + '/trophies/',
expire_after=datetime.timedelta(days=14),
)
def _scrape_games_overview(self) -> Iterator[dict]: