diff options
Diffstat (limited to 'gallery_dl/option.py')
| -rw-r--r-- | gallery_dl/option.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gallery_dl/option.py b/gallery_dl/option.py index 34222a2..5b99bee 100644 --- a/gallery_dl/option.py +++ b/gallery_dl/option.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -# Copyright 2017-2019 Mike Fährmann +# Copyright 2017-2020 Mike Fährmann # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as @@ -173,6 +173,12 @@ def build_parser(): help=("Write URLs, which get emitted by other extractors but cannot " "be handled, to FILE"), ) + output.add_argument( + "--write-pages", + dest="write-pages", nargs=0, action=ConfigConstAction, const=True, + help=("Write downloaded intermediary pages to files " + "in the current directory to debug problems"), + ) downloader = parser.add_argument_group("Downloader Options") downloader.add_argument( @@ -196,7 +202,7 @@ def build_parser(): downloader.add_argument( "--http-timeout", dest="timeout", metavar="SECONDS", type=float, action=ConfigAction, - help="Timeout for HTTP connections (defaut: 30.0)", + help="Timeout for HTTP connections (default: 30.0)", ) downloader.add_argument( "--sleep", |
