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

Retry support and additional fixes #743

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Conversation

ikreymer
Copy link
Member

@ikreymer ikreymer commented Jan 18, 2025

  • retries: for failed pages, set retry to 5 in cases multiple retries may be needed.
  • redirect: if page url is /path/ -> /path, don't add as extra seed
  • proxy: don't use global dispatcher, pass dispatcher explicitly when using proxy, as proxy may interfere with local network requests
  • final exit flag: if crawl is done and also interrupted, ensure WACZ is still written/uploaded by setting final exit to true

todo:

  • remove hack to enable autoclick with adblocking (needed until browsertrix 1.14 release)

- redirect: if page url is /path/ -> /path, don't add as extra seed
- proxy: don't use global dispatcher, pass dispatcher explicitly when using proxy
@ikreymer ikreymer requested a review from tw4l January 18, 2025 10:37
@ikreymer ikreymer changed the title Additional fixes Retry support and additional fixes Jan 21, 2025
… list

tests: add test for retry, ensure all retries are used
Comment on lines +703 to +705
if (argv.blockAds) {
argv.behaviors.push("autoclick");
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just leaving a comment so we remember to undo this

@ikreymer ikreymer marked this pull request as ready for review January 21, 2025 21:47
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.

2 participants