Fix caching
This commit is contained in:
parent
f82b7c8526
commit
83208fd6ef
|
@ -63,12 +63,6 @@ class PsnProfilesScraper(Scraper):
|
||||||
self.session,
|
self.session,
|
||||||
URL_API_ROOT,
|
URL_API_ROOT,
|
||||||
per_minute=5,
|
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]:
|
def _scrape_games_overview(self) -> Iterator[dict]:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user