implement ability to load external extractor classes
- -X/--extractors - extractor.module-sources
This commit is contained in:
@@ -110,6 +110,12 @@ def build_parser():
|
||||
help=("Download URLs found in FILE ('-' for stdin). "
|
||||
"More than one --input-file can be specified"),
|
||||
)
|
||||
general.add_argument(
|
||||
"-f", "--filename",
|
||||
dest="filename", metavar="FORMAT",
|
||||
help=("Filename format string for downloaded files "
|
||||
"('/O' for \"original\" filenames)"),
|
||||
)
|
||||
general.add_argument(
|
||||
"-d", "--destination",
|
||||
dest="base-directory", metavar="PATH", action=ConfigAction,
|
||||
@@ -121,10 +127,9 @@ def build_parser():
|
||||
help="Exact location for file downloads",
|
||||
)
|
||||
general.add_argument(
|
||||
"-f", "--filename",
|
||||
dest="filename", metavar="FORMAT",
|
||||
help=("Filename format string for downloaded files "
|
||||
"('/O' for \"original\" filenames)"),
|
||||
"-X", "--extractors",
|
||||
dest="extractor_sources", metavar="PATH", action="append",
|
||||
help="Load external extractors from PATH",
|
||||
)
|
||||
general.add_argument(
|
||||
"--proxy",
|
||||
|
||||
Reference in New Issue
Block a user