add --write-unsupported option (#15)
This commit is contained in:
@@ -67,7 +67,7 @@ def build_parser():
|
||||
)
|
||||
parser.add_argument(
|
||||
"-g", "--get-urls", dest="list_urls", action="count",
|
||||
help="Print download urls",
|
||||
help="Print URLs instead of downloading",
|
||||
)
|
||||
parser.add_argument(
|
||||
"-j", "--dump-json", dest="list_data", action="store_true",
|
||||
@@ -139,6 +139,11 @@ def build_parser():
|
||||
metavar="OPT", action=ParseAction, dest="options", default=[],
|
||||
help="Additional '<key>=<value>' option values",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--write-unsupported", metavar="FILE", dest="unsupportedfile",
|
||||
help=("Write URLs, which get emitted by other extractors but cannot "
|
||||
"be handled, to FILE"),
|
||||
)
|
||||
parser.add_argument(
|
||||
"--list-extractors", dest="list_extractors", action="store_true",
|
||||
help=("Print a list of extractor classes "
|
||||
|
||||
Reference in New Issue
Block a user