Skip to content

Commit bc05e4e

Browse files
author
TheyWorkForYou Live CVS User
committed
[SP] Prevent many fetches of 404s in numeric gap.
1 parent e1a44ba commit bc05e4e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyscraper/sp/get-official-reports-new.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ def main():
131131
min_report_id = min(report_ids) - 20
132132
max_report_id = max(report_ids) + 20
133133
for report_id in range(min_report_id, max_report_id + 1):
134+
if report_id > 14191 and report_id < 15190: continue # Big jump
134135
get_document_from_id(report_id)
135136

136137
else:

0 commit comments

Comments
 (0)