]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/vevo.py
[extractors] Use new framework for existing embeds (#4307)
[yt-dlp.git] / yt_dlp / extractor / vevo.py
index 825089f47145ec87a3e6cb1b369bd3e1e02f9e9b..a146be04862f9b4e71faf65b9f3b266bc62d90c4 100644 (file)
@@ -36,6 +36,7 @@ class VevoIE(VevoBaseIE):
            https?://tv\.vevo\.com/watch/artist/(?:[^/]+)/|
            vevo:)
         (?P<id>[^&?#]+)'''
+    _EMBED_REGEX = [r'<iframe[^>]+?src=(["\'])(?P<url>(?:https?:)?//(?:cache\.)?vevo\.com/.+?)\1']
 
     _TESTS = [{
         'url': 'http://www.vevo.com/watch/hurts/somebody-to-die-for/GB1101300280',