diff options
| author | 2020-09-28 18:27:46 -0400 | |
|---|---|---|
| committer | 2020-09-28 18:27:46 -0400 | |
| commit | 9074eee175f76b824fbb6695d56426105191c51c (patch) | |
| tree | 2294be463d325d7092e600d88f160027c437086d /gallery_dl/option.py | |
| parent | 261c8c2bc74969e2242a153297895684742b6995 (diff) | |
New upstream version 1.15.0.upstream/1.15.0
Diffstat (limited to 'gallery_dl/option.py')
| -rw-r--r-- | gallery_dl/option.py | 15 |
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 " |
