Skip to content

Conversation

nicholascc
Copy link

Fixes #264 (15 requests per minute rate-limit by archive.org) by adding a 4-second delay between every download. This is currently a bit of a hack - there should probably be a configurable delay parameter. I'm not good enough at Ruby to implement this in its best form, so someone else should add features like that in another pull request if they want to.

Still, since this library is currently non-functional due to the rate limit, we should just fix it in the simplest way possible right now - by merging this pull request.

Currently a bit of a hack - there should probably be a configurable delay parameter.
@nicholascc nicholascc changed the title Fixed #264 by adding a 4 second delay per download Added a 4 second delay per download due to rate-limiting Nov 12, 2023
@FrankyBoy
Copy link

There should also be a delay when fetching snapshot pages (i.e. get_all_snapshots_to_consider). This seems also to be affected by the rate-limiting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

wayback_machine_downloader get lots Connection refused
2 participants