mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[tvigle] Skip hls completely (#9259)
This commit is contained in:
parent
a292cba256
commit
1988647dda
1 changed files with 2 additions and 2 deletions
|
@ -83,10 +83,10 @@ def _real_extract(self, url):
|
|||
|
||||
formats = []
|
||||
for vcodec, fmts in item['videos'].items():
|
||||
if vcodec == 'hls':
|
||||
continue
|
||||
for format_id, video_url in fmts.items():
|
||||
if format_id == 'm3u8':
|
||||
formats.extend(self._extract_m3u8_formats(
|
||||
video_url, video_id, 'mp4', m3u8_id=vcodec))
|
||||
continue
|
||||
height = self._search_regex(
|
||||
r'^(\d+)[pP]$', format_id, 'height', default=None)
|
||||
|
|
Loading…
Reference in a new issue