summaryrefslogtreecommitdiffstats
path: root/gallery_dl/option.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2020-06-01 23:11:37 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2020-06-01 23:11:37 -0400
commita70a3246927b72f1ded37acd55ee719515441b5b (patch)
tree57f0d3ab0b1387b665325f42a24b8aab63cbce07 /gallery_dl/option.py
parent90e50db2e3c38f523bb5195d295290b06e5cedb0 (diff)
New upstream version 1.14.0.upstream/1.14.0
Diffstat (limited to 'gallery_dl/option.py')
-rw-r--r--gallery_dl/option.py10
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",