Skip to content

Commit

Permalink
fix: remove unnecessary sleep (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
wumpus authored Sep 4, 2024
1 parent 6578915 commit 2c74dfd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cdx_toolkit/commoncrawl.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ def get_cc_endpoints(cc_mirror):
if r.status_code != 200:
raise RuntimeError('error {} getting list of cc indices from {}'.format(r.status_code, collinfo)) # pragma: no cover
set_collinfo_cache(cc_mirror, r.text)
time.sleep(5) # XXX to avoid triggering rate limit
col = r.json()

endpoints = [x['cdx-api'] for x in col]
Expand Down

0 comments on commit 2c74dfd

Please sign in to comment.