From 3c9f19075727b762fca6205b662c077ff65bc917 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Thu, 10 Aug 2017 17:36:21 +0200 Subject: [PATCH] extend output of --list-keywords --- docs/configuration.rst | 2 +- gallery_dl/job.py | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/configuration.rst b/docs/configuration.rst index 3a86e2d7..8e1d6485 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -266,7 +266,7 @@ Description Select the directory structure created by the Gallery- and * ``true``: Use a flat directory structure. * ``false``: Collect a list of all gallery-folders or - favorites-collections and defere any further work to other + favorites-collections and transfer any further work to other extractors (``folder`` or ``collection``), which will then create individual subdirectories for each of them. =========== ===== diff --git a/gallery_dl/job.py b/gallery_dl/job.py index ed6124b0..f5916579 100644 --- a/gallery_dl/job.py +++ b/gallery_dl/job.py @@ -163,6 +163,12 @@ class KeywordJob(Job): print("-----------------------------") self.print_keywords(keywords) + def handle_queue(self, url): + print("This extractor transfers work to other extractors and does not " + "provide any keywords on its own. Try " + "'gallery-dl --list-keywords \"", url, "\"' instead.", sep="") + raise exception.StopExtraction() + @staticmethod def print_keywords(keywords, prefix=""): """Print key-value pairs with formatting"""