diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-07-15 00:01:41 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-07-15 00:01:41 +0600 |
commit | 6c1b0c0ed2678198e3196e2acf32f63806d4ccb6 (patch) | |
tree | 0c772f1614de9eb7af3b5558d179a8574024429c /youtube_dl/extractor/dfb.py | |
parent | ddcdc684e20af96a4fc57da49c27b31c75462aae (diff) |
[dfb] Extract formats
Diffstat (limited to 'youtube_dl/extractor/dfb.py')
-rw-r--r-- | youtube_dl/extractor/dfb.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/dfb.py b/youtube_dl/extractor/dfb.py index f1df9b9a0..263532cc6 100644 --- a/youtube_dl/extractor/dfb.py +++ b/youtube_dl/extractor/dfb.py @@ -37,13 +37,13 @@ class DFBIE(InfoExtractor): self._proto_relative_url(video_info.find('url').text.strip()), display_id) token_el = f4m_info.find('token') manifest_url = token_el.attrib['url'] + '?' + 'hdnea=' + token_el.attrib['auth'] + '&hdcore=3.2.0' + formats = self._extract_f4m_formats(manifest_url, display_id) return { 'id': video_id, 'display_id': display_id, 'title': video_info.find('title').text, - 'url': manifest_url, - 'ext': 'flv', 'thumbnail': self._og_search_thumbnail(webpage), 'upload_date': unified_strdate(video_info.find('time_date').text), + 'formats': formats, } |