Skip to content

Fix bug preventing browser profiles and deduplication from being used together in crawls#3234

Merged
ikreymer merged 1 commit intomainfrom
issue-3229-browser-profile-dedupe-fix
Mar 26, 2026
Merged

Fix bug preventing browser profiles and deduplication from being used together in crawls#3234
ikreymer merged 1 commit intomainfrom
issue-3229-browser-profile-dedupe-fix

Conversation

@tw4l
Copy link
Copy Markdown
Member

@tw4l tw4l commented Mar 25, 2026

Fixes #3229

A bug was preventing browser profiles from being passed to the crawler args when dedupe was enabled. This PR fixes the conditional logic in the crawler.yaml template so that dedupe and profile can be used together for crawls, but neither can be used in QA.

The save_profile conditional could be inside of the {% if profile_filename %} rather than using an and as I do here, but I was trying to reduce the number of nested conditionals to make it more readable, especially since the conditionals can't be indented to help in that respect.

Testing

  • Spin up a local instance
  • Configure a logged-in browser profile
  • Run a crawl with a logged-in browser profile and a deduplication source enabled
  • Run QA and verify that no dedupe or profile-related crawler args are getting passed to the QA run

Nightly test run: https://github.com/webrecorder/browsertrix/actions/runs/23567830389

@tw4l tw4l requested a review from ikreymer March 25, 2026 22:39
@ikreymer
Copy link
Copy Markdown
Member

Nice find and fix! Tested locally and working with dedupe + profiles!

@ikreymer ikreymer merged commit 112bbfa into main Mar 26, 2026
45 checks passed
@ikreymer ikreymer deleted the issue-3229-browser-profile-dedupe-fix branch March 26, 2026 02:28
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.

[Bug]: x.com + facebook.com logged in - browser profile not working/logged in during crawl when deduplication activated

2 participants