From 83208fd6ef56344474f9f28e33ab1cf89316654f Mon Sep 17 00:00:00 2001 From: Jon Michael Aanes Date: Thu, 24 Oct 2024 23:51:55 +0200 Subject: [PATCH] Fix caching --- personal_data/fetchers/psnprofiles.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/personal_data/fetchers/psnprofiles.py b/personal_data/fetchers/psnprofiles.py index 469fe1c..b342e44 100644 --- a/personal_data/fetchers/psnprofiles.py +++ b/personal_data/fetchers/psnprofiles.py @@ -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]: