]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/libsyn.py
[extractors] Use new framework for existing embeds (#4307)
[yt-dlp.git] / yt_dlp / extractor / libsyn.py
index 8245a34817ec436c7186cbbabe812bb0efa1ee64..29bbb03defdd67fee2bef63702e2cb52dd555e20 100644 (file)
@@ -10,6 +10,7 @@
 
 class LibsynIE(InfoExtractor):
     _VALID_URL = r'(?P<mainurl>https?://html5-player\.libsyn\.com/embed/episode/id/(?P<id>[0-9]+))'
+    _EMBED_REGEX = [r'<iframe[^>]+src=(["\'])(?P<url>(?:https?:)?//html5-player\.libsyn\.com/embed/.+?)\1']
 
     _TESTS = [{
         'url': 'http://html5-player.libsyn.com/embed/episode/id/6385796/',