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/funnyordie.py | |
parent | e8bfe2a946eda74f16af8734c35fba8c223e41fa (diff) |
Don't list master m3u8 playlists in format list (closes #12832)
Diffstat (limited to 'youtube_dl/extractor/funnyordie.py')
-rw-r--r-- | youtube_dl/extractor/funnyordie.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/youtube_dl/extractor/funnyordie.py b/youtube_dl/extractor/funnyordie.py index 81c0ce9a3..49409369c 100644 --- a/youtube_dl/extractor/funnyordie.py +++ b/youtube_dl/extractor/funnyordie.py @@ -58,8 +58,7 @@ class FunnyOrDieIE(InfoExtractor): m3u8_url, video_id, 'mp4', 'm3u8_native', m3u8_id='hls', fatal=False) source_formats = list(filter( - lambda f: f.get('vcodec') != 'none' and f.get('resolution') != 'multiple', - m3u8_formats)) + lambda f: f.get('vcodec') != 'none', m3u8_formats)) bitrates = [int(bitrate) for bitrate in re.findall(r'[,/]v(\d+)(?=[,/])', m3u8_url)] bitrates.sort() |