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.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/gallery_dl/option.py b/gallery_dl/option.py
index 5b99bee..2a48c87 100644
--- a/gallery_dl/option.py
+++ b/gallery_dl/option.py
@@ -210,11 +210,26 @@ def build_parser():
help="Number of seconds to sleep before each download",
)
downloader.add_argument(
+ "--filesize-min",
+ dest="filesize-min", metavar="SIZE", action=ConfigAction,
+ help="Do not download files smaller than SIZE (e.g. 500k or 2.5M)",
+ )
+ downloader.add_argument(
+ "--filesize-max",
+ dest="filesize-max", metavar="SIZE", action=ConfigAction,
+ help="Do not download files larger than SIZE (e.g. 500k or 2.5M)",
+ )
+ downloader.add_argument(
"--no-part",
dest="part", nargs=0, action=ConfigConstAction, const=False,
help="Do not use .part files",
)
downloader.add_argument(
+ "--no-skip",
+ dest="skip", nargs=0, action=ConfigConstAction, const=False,
+ help="Do not skip downloads; overwrite existing files",
+ )
+ downloader.add_argument(
"--no-mtime",
dest="mtime", nargs=0, action=ConfigConstAction, const=False,
help=("Do not set file modification times according to "