This commit is contained in:
parent
28e18fc1b4
commit
51d49bf9f7
|
@ -25,7 +25,7 @@ def game_psnprofiles_id_from_url(relative_url: str) -> int:
|
|||
return int(result)
|
||||
|
||||
|
||||
MAX_GAME_ITERATIONS = 10
|
||||
MAX_NUMBER_GAMES_TO_PARSE = 1000
|
||||
|
||||
@dataclasses.dataclass(frozen=True)
|
||||
class PsnProfilesScraper(Scraper):
|
||||
|
@ -50,7 +50,7 @@ class PsnProfilesScraper(Scraper):
|
|||
yield from self._scrape_game_trophies(game_id, game_name)
|
||||
del game_id
|
||||
idx += 1
|
||||
if idx >= MAX_GAME_ITERATIONS:
|
||||
if idx >= MAX_NUMBER_GAMES_TO_PARSE:
|
||||
break
|
||||
|
||||
def _setup_cache(self):
|
||||
|
|
Loading…
Reference in New Issue
Block a user