1
0
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:
Mike Fährmann 2022-11-02 21:59:47 +01:00
parent b357c2dcf8
commit 79a9fc6e45
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -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",