aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/options.py
diff options
context:
space:
mode:
authorSergey M. <dstftw@gmail.com>2015-06-24 19:10:45 +0500
committerSergey M. <dstftw@gmail.com>2015-06-24 19:10:45 +0500
commit3c3b4176bd60f8c7ffb81de8f1b30e871652103d (patch)
tree575ebf9c9513cd53dbf4753ff2f8bec985e4d391 /youtube_dl/options.py
parent022383139ba96722d27200753084ae4d160f8a3d (diff)
parent2fece970b80022574a6b54c936820897cfd10d70 (diff)
Merge pull request #5961 from dstftw/force-generic-extractor
Add --force-generic-extractor
Diffstat (limited to 'youtube_dl/options.py')
-rw-r--r--youtube_dl/options.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/youtube_dl/options.py b/youtube_dl/options.py
index 740458e51..6aeca61ee 100644
--- a/youtube_dl/options.py
+++ b/youtube_dl/options.py
@@ -151,6 +151,10 @@ def parseOpts(overrideArguments=None):
action='store_true', dest='list_extractor_descriptions', default=False,
help='Output descriptions of all supported extractors')
general.add_option(
+ '--force-generic-extractor',
+ action='store_true', dest='force_generic_extractor', default=False,
+ help='Force extraction to use the generic extractor')
+ general.add_option(
'--default-search',
dest='default_search', metavar='PREFIX',
help='Use this prefix for unqualified URLs. For example "gvsearch2:" downloads two videos from google videos for youtube-dl "large apple". Use the value "auto" to let youtube-dl guess ("auto_warning" to emit a warning when guessing). "error" just throws an error. The default value "fixup_error" repairs broken URLs, but emits an error if this is not possible instead of searching.')