summaryrefslogtreecommitdiffstats
path: root/gallery_dl/option.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/option.py')
-rw-r--r--gallery_dl/option.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/gallery_dl/option.py b/gallery_dl/option.py
index 37247a7..4d9a358 100644
--- a/gallery_dl/option.py
+++ b/gallery_dl/option.py
@@ -125,6 +125,11 @@ def build_parser():
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",
help="Delete cached login sessions, cookies, etc. for MODULE "
@@ -263,6 +268,11 @@ def build_parser():
help="Do not download files larger than SIZE (e.g. 500k or 2.5M)",
)
downloader.add_argument(
+ "--chunk-size",
+ dest="chunk-size", metavar="SIZE", action=ConfigAction,
+ help="Size of in-memory data chunks (default: 32k)",
+ )
+ downloader.add_argument(
"--no-part",
dest="part", nargs=0, action=ConfigConstAction, const=False,
help="Do not use .part files",