mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 09:06:02 +03:00
[GH-ISSUE #1111] Feature Request: Add support for sending custom request headers across all archiving methods #2209
Labels
No labels
expected: maybe someday
expected: next release
expected: release after next
expected: unlikely unless contributed
good first ticket
help wanted
pull-request
scope: all users
scope: windows users
size: easy
size: hard
size: medium
size: medium
status: backlog
status: blocked
status: done
status: idea-phase
status: needs followup
status: wip
status: wontfix
touches: API/CLI/Spec
touches: configuration
touches: data/schema/architecture
touches: dependencies/packaging
touches: docs
touches: js
touches: views/replayers/html/css
why: correctness
why: functionality
why: performance
why: security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ArchiveBox#2209
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hykilpikonna on GitHub (Mar 1, 2023).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1111
The page I want to archive uses automatic language detection / i18n, and I want to archive in a language other than English. One way to achieve this is to add a custom
accept-languagerequest header. Is there an option to easily configure request headers for each archive?@pirate commented on GitHub (Mar 2, 2023):
There is not a universal setting to add headers for all methods, but you can add them individually using each extractor's
<extractorname>_ARGS='["--some-headers-here...", "--some-other-args=..."]'config settings.For example to set the header for curl you'd use
CURL_ARGShttps://github.com/ArchiveBox/ArchiveBox/wiki/Configuration#curl_args:Adding support for custom headers for every extractor at once would be cool, but I'm not sure if we'll get around to adding that anytime soon.