[PR #1754] Fix: Make SingleFile use SINGLEFILE_CHROME_ARGS with fallback to CHROME_ARGS #3011

Closed
opened 2026-03-01 18:01:24 +03:00 by kerem · 0 comments
Owner

Original Pull Request: https://github.com/ArchiveBox/ArchiveBox/pull/1754

State: closed
Merged: Yes


Fixes #1445

This PR resolves the issue where SingleFile was not respecting Chrome user data directory and other Chrome launch options that work for other Chrome-based extractors (PDF, Screenshot, etc.).

Changes

  • Added SINGLEFILE_CHROME_ARGS config option with fallback to CHROME_ARGS
  • Updated SingleFile extractor to pass Chrome arguments via --browser-args
  • Updated documentation

This ensures SingleFile respects the same Chrome configuration as other Chrome-based extractors.

Generated with Claude Code


Summary by cubic

Makes SingleFile honor Chrome launch options by adding SINGLEFILE_CHROME_ARGS (fallback to CHROME_ARGS) and passing them via --browser-args. Fixes #1445 so user-data-dir and other Chrome settings match behavior of other Chrome-based extractors.

  • Bug Fixes
    • Added SINGLEFILE_CHROME_ARGS config with fallback to CHROME_ARGS.
    • Passed Chrome args to SingleFile using --browser-args (JSON array).
    • Updated extractor docstring to document the new variable.

Written for commit a101449cba. Summary will update on new commits.

**Original Pull Request:** https://github.com/ArchiveBox/ArchiveBox/pull/1754 **State:** closed **Merged:** Yes --- Fixes #1445 This PR resolves the issue where SingleFile was not respecting Chrome user data directory and other Chrome launch options that work for other Chrome-based extractors (PDF, Screenshot, etc.). ## Changes - Added `SINGLEFILE_CHROME_ARGS` config option with fallback to `CHROME_ARGS` - Updated SingleFile extractor to pass Chrome arguments via `--browser-args` - Updated documentation This ensures SingleFile respects the same Chrome configuration as other Chrome-based extractors. Generated with [Claude Code](https://claude.ai/code) <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Makes SingleFile honor Chrome launch options by adding SINGLEFILE_CHROME_ARGS (fallback to CHROME_ARGS) and passing them via --browser-args. Fixes #1445 so user-data-dir and other Chrome settings match behavior of other Chrome-based extractors. - **Bug Fixes** - Added SINGLEFILE_CHROME_ARGS config with fallback to CHROME_ARGS. - Passed Chrome args to SingleFile using --browser-args (JSON array). - Updated extractor docstring to document the new variable. <sup>Written for commit a101449cba64aaaa6bb6ed9d678915a16e3e9b67. Summary will update on new commits.</sup> <!-- End of auto-generated description by cubic. -->
kerem 2026-03-01 18:01:24 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ArchiveBox#3011
No description provided.