mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 10:42:34 +01:00
add '--user-agent' command-line option
This commit is contained in:
parent
b357c2dcf8
commit
79a9fc6e45
@ -124,6 +124,11 @@ def build_parser():
|
||||
dest="source-address", metavar="IP", action=ConfigAction,
|
||||
help="Client-side IP address to bind to",
|
||||
)
|
||||
general.add_argument(
|
||||
"--user-agent",
|
||||
dest="user-agent", metavar="UA", action=ConfigAction,
|
||||
help="User-Agent request header",
|
||||
)
|
||||
general.add_argument(
|
||||
"--clear-cache",
|
||||
dest="clear_cache", metavar="MODULE",
|
||||
|
Loading…
Reference in New Issue
Block a user