Skip to content

Commit

Permalink
Need to advance page on error, too
Browse files Browse the repository at this point in the history
  • Loading branch information
Javex committed Aug 15, 2024
1 parent faf00d7 commit 81c19dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hotprices_au/sites/coles.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def get_category(self, cat_slug):
if error_count > ERROR_COUNT_MAX:
raise
else:
params["page"] += 1
continue
response_data = response.json()
search_results = response_data["pageProps"]["searchResults"]
Expand Down

0 comments on commit 81c19dc

Please sign in to comment.