mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-15 20:48:58 +00:00
[extractor] Add a way to distinguish IEs that returns only videos
This commit is contained in:
@@ -1050,6 +1050,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||
<a\s[^>]*\bhref="(?P<url>https://www\.youtube\.com/watch\?v=[0-9A-Za-z_-]{11})"
|
||||
\s[^>]*\bclass="[^"]*\blazy-load-youtube''',
|
||||
]
|
||||
_RETURN_TYPE = 'video' # While there are "multifeed" test cases, they don't seem to actually exist anymore
|
||||
|
||||
_PLAYER_INFO_RE = (
|
||||
r'/s/player/(?P<id>[a-zA-Z0-9_-]{8,})/player',
|
||||
|
||||
Reference in New Issue
Block a user