[theplatform] Extract all formats for f4m videos
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sun, 21 Sep 2014 13:47:58 +0000 (15:47 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sun, 21 Sep 2014 13:47:58 +0000 (15:47 +0200)
youtube_dl/extractor/theplatform.py

index b6b2dba9ca9e6ee02c7dc6b2cf01d3601874a6b2..031a958fac127551f57c4df53a655d69a5b03d6f 100644 (file)
@@ -62,10 +62,7 @@ class ThePlatformIE(InfoExtractor):
             # the parameters are from syfy.com, other sites may use others,
             # they also work for nbc.com
             f4m_url += '&g=UXWGVKRWHFSP&hdcore=3.0.3'
-            formats = [{
-                'ext': 'flv',
-                'url': f4m_url,
-            }]
+            formats = self._extract_f4m_formats(f4m_url, video_id)
         else:
             base_url = head.find(_x('smil:meta')).attrib['base']
             switch = body.find(_x('smil:switch'))