From: Jaime Marquínez Ferrándiz Date: Sun, 21 Sep 2014 13:47:58 +0000 (+0200) Subject: [theplatform] Extract all formats for f4m videos X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=dd41e8c82bb14bda0c407f9f0865cfb112e8fc30;p=youtube-dl [theplatform] Extract all formats for f4m videos --- diff --git a/youtube_dl/extractor/theplatform.py b/youtube_dl/extractor/theplatform.py index b6b2dba9c..031a958fa 100644 --- a/youtube_dl/extractor/theplatform.py +++ b/youtube_dl/extractor/theplatform.py @@ -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'))