diff --git a/gallery_dl/option.py b/gallery_dl/option.py index 37247a7e..4d5e463a 100644 --- a/gallery_dl/option.py +++ b/gallery_dl/option.py @@ -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",