From 1c9435e0dfbcf39679fc76c3d6076bc55ed1e0e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Thu, 7 Jan 2021 18:10:54 +0100 Subject: [PATCH] add '-G' command-line option (#1217) A "stronger" version of '-g', resolving all intermediate URLs. --- gallery_dl/option.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gallery_dl/option.py b/gallery_dl/option.py index 01537d6b..367b9342 100644 --- a/gallery_dl/option.py +++ b/gallery_dl/option.py @@ -135,6 +135,11 @@ def build_parser(): dest="list_urls", action="count", help="Print URLs instead of downloading", ) + output.add_argument( + "-G", + dest="list_urls", action="store_const", const=128, + help=argparse.SUPPRESS, + ) output.add_argument( "-j", "--dump-json", dest="jobtype", action="store_const", const=job.DataJob,