|
|
@ -119,6 +119,10 @@ def build_parser():
|
|
|
|
"-j", "--dump-json", dest="list_data", action="store_true",
|
|
|
|
"-j", "--dump-json", dest="list_data", action="store_true",
|
|
|
|
help="Print JSON information",
|
|
|
|
help="Print JSON information",
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
output.add_argument(
|
|
|
|
|
|
|
|
"-K", "--list-keywords", dest="list_keywords", action="store_true",
|
|
|
|
|
|
|
|
help="Print a list of available keywords for the given URLs",
|
|
|
|
|
|
|
|
)
|
|
|
|
output.add_argument(
|
|
|
|
output.add_argument(
|
|
|
|
"--list-modules", dest="list_modules", action="store_true",
|
|
|
|
"--list-modules", dest="list_modules", action="store_true",
|
|
|
|
help="Print a list of available extractor modules",
|
|
|
|
help="Print a list of available extractor modules",
|
|
|
@ -128,10 +132,6 @@ def build_parser():
|
|
|
|
help=("Print a list of extractor classes "
|
|
|
|
help=("Print a list of extractor classes "
|
|
|
|
"with description, (sub)category and example URL"),
|
|
|
|
"with description, (sub)category and example URL"),
|
|
|
|
)
|
|
|
|
)
|
|
|
|
output.add_argument(
|
|
|
|
|
|
|
|
"--list-keywords", dest="list_keywords", action="store_true",
|
|
|
|
|
|
|
|
help="Print a list of available keywords for the given URLs",
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
downloader = parser.add_argument_group("Downloader Options")
|
|
|
|
downloader = parser.add_argument_group("Downloader Options")
|
|
|
|
downloader.add_argument(
|
|
|
|
downloader.add_argument(
|
|
|
|