]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/jwplatform.py
New upstream version 2017.12.31
[youtubedl] / youtube_dl / extractor / jwplatform.py
index 33d55f7706d79e0b87a9830ae9abce3de6f33826..c9bcbb08f787ef74bea78c4b402ecb7b167556e7 100644 (file)
@@ -24,7 +24,7 @@ class JWPlatformIE(InfoExtractor):
     @staticmethod
     def _extract_url(webpage):
         mobj = re.search(
-            r'<script[^>]+?src=["\'](?P<url>(?:https?:)?//content.jwplatform.com/players/[a-zA-Z0-9]{8})',
+            r'<(?:script|iframe)[^>]+?src=["\'](?P<url>(?:https?:)?//content.jwplatform.com/players/[a-zA-Z0-9]{8})',
             webpage)
         if mobj:
             return mobj.group('url')