extend output of --list-keywords
This commit is contained in:
@@ -266,7 +266,7 @@ Description Select the directory structure created by the Gallery- and
|
|||||||
|
|
||||||
* ``true``: Use a flat directory structure.
|
* ``true``: Use a flat directory structure.
|
||||||
* ``false``: Collect a list of all gallery-folders or
|
* ``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
|
extractors (``folder`` or ``collection``), which will then
|
||||||
create individual subdirectories for each of them.
|
create individual subdirectories for each of them.
|
||||||
=========== =====
|
=========== =====
|
||||||
|
|||||||
@@ -163,6 +163,12 @@ class KeywordJob(Job):
|
|||||||
print("-----------------------------")
|
print("-----------------------------")
|
||||||
self.print_keywords(keywords)
|
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
|
@staticmethod
|
||||||
def print_keywords(keywords, prefix=""):
|
def print_keywords(keywords, prefix=""):
|
||||||
"""Print key-value pairs with formatting"""
|
"""Print key-value pairs with formatting"""
|
||||||
|
|||||||
Reference in New Issue
Block a user