Don't list master m3u8 playlists in format list (closes #12832)
This commit is contained in:
parent
e8bfe2a946
commit
ff99fe529e
11 changed files with 11 additions and 61 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue