diff options
author | Sergey M․ <dstftw@gmail.com> | 2017-04-25 22:07:10 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2017-04-27 21:53:17 +0700 |
commit | ff99fe529e52b2465f1d973e69df01a6391568d6 (patch) | |
tree | efbe250684068fdd6fdcb129d0fdc4fb7031fb4e /youtube_dl/extractor/tvp.py | |
parent | e8bfe2a946eda74f16af8734c35fba8c223e41fa (diff) |
Don't list master m3u8 playlists in format list (closes #12832)
Diffstat (limited to 'youtube_dl/extractor/tvp.py')
-rw-r--r-- | youtube_dl/extractor/tvp.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/youtube_dl/extractor/tvp.py b/youtube_dl/extractor/tvp.py index 06ea2b40a..c5b3288ad 100644 --- a/youtube_dl/extractor/tvp.py +++ b/youtube_dl/extractor/tvp.py @@ -150,8 +150,7 @@ class TVPEmbedIE(InfoExtractor): 'mp4', 'm3u8_native', m3u8_id='hls', fatal=False) self._sort_formats(m3u8_formats) m3u8_formats = list(filter( - lambda f: f.get('vcodec') != 'none' and f.get('resolution') != 'multiple', - m3u8_formats)) + lambda f: f.get('vcodec') != 'none', m3u8_formats)) formats.extend(m3u8_formats) for i, m3u8_format in enumerate(m3u8_formats, 2): http_url = '%s-%d.mp4' % (video_url_base, i) |