bug: archive cmd uses wrong flags variable — browser flags not available #8
Reference in New Issue
Block a user
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?
Parent: #1
Description
In
sites/archive/cmd/archive/main.go:49-59, a mergedflagsvariable is constructed but never used:This means browser flags (
--user-agent,--timeout,--browser,--cookies-file,--visible) are not available to the archive command, even thoughbrowser.FromCommand()is called in the action handler.Fix
Change
Flags: FlagstoFlags: flagson line 59.Starting work on this as part of PR 5 (also includes #19). Will fix
Flags: Flagsto use the mergedflagsvariable.Work finished. PR: #36
Fixed
Flags: Flagsto use the mergedflagsvariable that includes browser flags.