Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent rate limit errors in wayback machine API #339

Merged
merged 1 commit into from
Sep 10, 2022

Conversation

sissbruecker
Copy link
Owner

The Wayback Machine Save API only allows a limited number of requests within a timespan. This introduces several changes to avoid rate limit errors:

  • There will be max. 1 attempt to create a new snapshot
  • If a new snapshot could not be created, then attempt to use the latest existing snapshot
  • Bulk snapshot updates (bookmark import, load missing snapshots after login) will only attempt to load the latest snapshot instead of creating new ones

The Wayback Machine Save API only allows a limited number of requests within a timespan. This introduces several changes to avoid rate limit errors:
- There will be max. 1 attempt to create a new snapshot
- If a new snapshot could not be created, then attempt to use the latest existing snapshot
- Bulk snapshot updates (bookmark import, load missing snapshots after login) will only attempt to load the latest snapshot instead of creating new ones
@sissbruecker sissbruecker merged commit 1b35d5b into master Sep 10, 2022
@sissbruecker sissbruecker deleted the fix/prevent_wayback_api_rate_limit branch September 10, 2022 18:43
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.

1 participant