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/lego.py | |
parent | e8bfe2a946eda74f16af8734c35fba8c223e41fa (diff) |
Don't list master m3u8 playlists in format list (closes #12832)
Diffstat (limited to 'youtube_dl/extractor/lego.py')
-rw-r--r-- | youtube_dl/extractor/lego.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/lego.py b/youtube_dl/extractor/lego.py index d3bca6435..b312e77f1 100644 --- a/youtube_dl/extractor/lego.py +++ b/youtube_dl/extractor/lego.py @@ -86,7 +86,7 @@ class LEGOIE(InfoExtractor): formats = self._extract_akamai_formats( '%si/s/public/%s_,%s,.mp4.csmil/master.m3u8' % (streaming_base, path, streaming_path), video_id) m3u8_formats = list(filter( - lambda f: f.get('protocol') == 'm3u8_native' and f.get('vcodec') != 'none' and f.get('resolution') != 'multiple', + lambda f: f.get('protocol') == 'm3u8_native' and f.get('vcodec') != 'none', formats)) if len(m3u8_formats) == len(self._BITRATES): self._sort_formats(m3u8_formats) |