mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[ted] Skip hls quality selection format
This commit is contained in:
parent
14f7abfa71
commit
6621ca39a3
1 changed files with 2 additions and 0 deletions
|
@ -198,6 +198,8 @@ def _talk_info(self, url, video_name):
|
|||
hls_formats = self._extract_m3u8_formats(
|
||||
resources.get('stream'), video_name, 'mp4', m3u8_id=format_id)
|
||||
for f in hls_formats:
|
||||
if f.get('format_id') == 'hls-meta':
|
||||
continue
|
||||
if not f.get('height'):
|
||||
f['vcodec'] = 'none'
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue