mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 17:16:00 +03:00
[GH-ISSUE #469] Feature/Question: is there a way to get Chromium to spoof its browser agent? #307
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#307
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 @dannguyen on GitHub (Sep 7, 2020).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/469
Type
When trying to capture a tweet, via a standard call of
archivebox, i.e.The task seems to complete successfully, other than an irrelevant youtube-dl error (see output attached to bottom), but Twitter seems to be blocking Chromium (or whatever it is that does the WARC) based on browser agent, showing an error popup with "This browser is no longer supported. Please switch to a supported browser or disable the extension which masks your browser to continue using twitter.com"
The PDF and Screenshot and HTML versions are also broken. However, the SingleFile snapshot works mostly as expected:
I know it's not in the scope of ArchiveBox to navigate the many kinds of blockers that individual sites put up. I was just wondering if there was a way to spoof the browser agent through Chromium (though obviously, whatever general configuration option may not fool the method Twitter is using to detect browser)
Output of my
archiveboxinvocation` (note, I ran this on top of an existing project, hence the 179 links being updated, etc:@pirate commented on GitHub (Sep 8, 2020):
https://github.com/pirate/ArchiveBox/wiki/Configuration#chrome_user_agent
@dannguyen commented on GitHub (Sep 8, 2020):
Danke!