Skip to content

Commit

Permalink
[SP] Prevent many fetches of 404s in numeric gap.
Browse files Browse the repository at this point in the history
  • Loading branch information
TheyWorkForYou Live CVS User committed Mar 16, 2023
1 parent e1a44ba commit bc05e4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyscraper/sp/get-official-reports-new.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ def main():
min_report_id = min(report_ids) - 20
max_report_id = max(report_ids) + 20
for report_id in range(min_report_id, max_report_id + 1):
if report_id > 14191 and report_id < 15190: continue # Big jump
get_document_from_id(report_id)

else:
Expand Down

0 comments on commit bc05e4e

Please sign in to comment.