]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/youtube.py
[extractor] Add a way to distinguish IEs that returns only videos
[yt-dlp.git] / yt_dlp / extractor / youtube.py
index c753713c7e49208feff3610d8d5233a4a11a91b5..032972dcfa3bea87e469cd6592709f0d49c04b18 100644 (file)
@@ -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',