aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-08-24 08:20:52 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-08-24 08:21:39 +0530
commit2516cafb28293612cfb6e158dac34a3117b42461 (patch)
tree9dc9041e78109a61f1fb5e3318e8ddf11295b8fa
parentfd404bec7e6314c4584fedb1b595ee5e2d1225a6 (diff)
downloadhypervideo-pre-2516cafb28293612cfb6e158dac34a3117b42461.tar.lz
hypervideo-pre-2516cafb28293612cfb6e158dac34a3117b42461.tar.xz
hypervideo-pre-2516cafb28293612cfb6e158dac34a3117b42461.zip
Fix bug in fe7866d0ed6bfa3904ce12b049a3424fdc0ea1fa
-rw-r--r--README.md4
-rw-r--r--yt_dlp/extractor/generic.py3
-rw-r--r--yt_dlp/options.py2
3 files changed, 4 insertions, 5 deletions
diff --git a/README.md b/README.md
index e49190ab2..8957711dd 100644
--- a/README.md
+++ b/README.md
@@ -375,13 +375,13 @@ You can also fork the project on github and run your fork's [build workflow](.gi
--list-extractors List all supported extractors and exit
--extractor-descriptions Output descriptions of all supported
extractors and exit
- --use-extractors, --ies NAMES Extractor names to use separated by commas.
+ --use-extractors NAMES Extractor names to use separated by commas.
You can also use regexes, "all", "default"
and "end" (end URL matching); e.g. --ies
"holodex.*,end,youtube". Prefix the name
with a "-" to exclude it, e.g. --ies
default,-generic. Use --list-extractors for
- a list of available extractor names
+ a list of extractor names. (Alias: --ies)
--default-search PREFIX Use this prefix for unqualified URLs. E.g.
"gvsearch2:python" downloads two videos from
google videos for the search term "python".
diff --git a/yt_dlp/extractor/generic.py b/yt_dlp/extractor/generic.py
index e32ec1c8f..b65194c60 100644
--- a/yt_dlp/extractor/generic.py
+++ b/yt_dlp/extractor/generic.py
@@ -3,7 +3,6 @@ import re
import urllib.parse
import xml.etree.ElementTree
-from . import gen_extractor_classes
from .common import InfoExtractor # isort: split
from .brightcove import BrightcoveLegacyIE, BrightcoveNewIE
from .commonprotocols import RtmpIE
@@ -2805,7 +2804,7 @@ class GenericIE(InfoExtractor):
self._downloader.write_debug('Looking for embeds')
embeds = []
- for ie in gen_extractor_classes():
+ for ie in self._downloader._ies.values():
gen = ie.extract_from_webpage(self._downloader, url, webpage)
current_embeds = []
try:
diff --git a/yt_dlp/options.py b/yt_dlp/options.py
index 5e1581296..50bba9b63 100644
--- a/yt_dlp/options.py
+++ b/yt_dlp/options.py
@@ -362,7 +362,7 @@ def create_parser():
'You can also use regexes, "all", "default" and "end" (end URL matching); '
'e.g. --ies "holodex.*,end,youtube". '
'Prefix the name with a "-" to exclude it, e.g. --ies default,-generic. '
- 'Use --list-extractors for a list of available extractor names'))
+ 'Use --list-extractors for a list of extractor names. (Alias: --ies)'))
general.add_option(
'--force-generic-extractor',
action='store_true', dest='force_generic_extractor', default=False,