mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-14 13:13:06 +00:00
Fix bug in fe7866d0ed
This commit is contained in:
parent
fd404bec7e
commit
2516cafb28
@ -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
|
--list-extractors List all supported extractors and exit
|
||||||
--extractor-descriptions Output descriptions of all supported
|
--extractor-descriptions Output descriptions of all supported
|
||||||
extractors and exit
|
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"
|
You can also use regexes, "all", "default"
|
||||||
and "end" (end URL matching); e.g. --ies
|
and "end" (end URL matching); e.g. --ies
|
||||||
"holodex.*,end,youtube". Prefix the name
|
"holodex.*,end,youtube". Prefix the name
|
||||||
with a "-" to exclude it, e.g. --ies
|
with a "-" to exclude it, e.g. --ies
|
||||||
default,-generic. Use --list-extractors for
|
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.
|
--default-search PREFIX Use this prefix for unqualified URLs. E.g.
|
||||||
"gvsearch2:python" downloads two videos from
|
"gvsearch2:python" downloads two videos from
|
||||||
google videos for the search term "python".
|
google videos for the search term "python".
|
||||||
|
@ -3,7 +3,6 @@ import re
|
|||||||
import urllib.parse
|
import urllib.parse
|
||||||
import xml.etree.ElementTree
|
import xml.etree.ElementTree
|
||||||
|
|
||||||
from . import gen_extractor_classes
|
|
||||||
from .common import InfoExtractor # isort: split
|
from .common import InfoExtractor # isort: split
|
||||||
from .brightcove import BrightcoveLegacyIE, BrightcoveNewIE
|
from .brightcove import BrightcoveLegacyIE, BrightcoveNewIE
|
||||||
from .commonprotocols import RtmpIE
|
from .commonprotocols import RtmpIE
|
||||||
@ -2805,7 +2804,7 @@ class GenericIE(InfoExtractor):
|
|||||||
|
|
||||||
self._downloader.write_debug('Looking for embeds')
|
self._downloader.write_debug('Looking for embeds')
|
||||||
embeds = []
|
embeds = []
|
||||||
for ie in gen_extractor_classes():
|
for ie in self._downloader._ies.values():
|
||||||
gen = ie.extract_from_webpage(self._downloader, url, webpage)
|
gen = ie.extract_from_webpage(self._downloader, url, webpage)
|
||||||
current_embeds = []
|
current_embeds = []
|
||||||
try:
|
try:
|
||||||
|
@ -362,7 +362,7 @@ def create_parser():
|
|||||||
'You can also use regexes, "all", "default" and "end" (end URL matching); '
|
'You can also use regexes, "all", "default" and "end" (end URL matching); '
|
||||||
'e.g. --ies "holodex.*,end,youtube". '
|
'e.g. --ies "holodex.*,end,youtube". '
|
||||||
'Prefix the name with a "-" to exclude it, e.g. --ies default,-generic. '
|
'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(
|
general.add_option(
|
||||||
'--force-generic-extractor',
|
'--force-generic-extractor',
|
||||||
action='store_true', dest='force_generic_extractor', default=False,
|
action='store_true', dest='force_generic_extractor', default=False,
|
||||||
|
Loading…
Reference in New Issue
Block a user