mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-07-01 19:42:52 -05:00
[ted] Skip hls quality selection format
This commit is contained in:
@ -198,6 +198,8 @@ class TEDIE(InfoExtractor):
|
|||||||
hls_formats = self._extract_m3u8_formats(
|
hls_formats = self._extract_m3u8_formats(
|
||||||
resources.get('stream'), video_name, 'mp4', m3u8_id=format_id)
|
resources.get('stream'), video_name, 'mp4', m3u8_id=format_id)
|
||||||
for f in hls_formats:
|
for f in hls_formats:
|
||||||
|
if f.get('format_id') == 'hls-meta':
|
||||||
|
continue
|
||||||
if not f.get('height'):
|
if not f.get('height'):
|
||||||
f['vcodec'] = 'none'
|
f['vcodec'] = 'none'
|
||||||
else:
|
else:
|
||||||
|
Reference in New Issue
Block a user