mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-28 14:15:53 +01:00
[livestream] skip m3u8 manifest in progressive_urls
This commit is contained in:
parent
dbfd06730c
commit
7b81316508
@ -97,6 +97,8 @@ def _extract_video_info(self, video_data):
|
|||||||
video_url = video_data.get(key)
|
video_url = video_data.get(key)
|
||||||
if video_url:
|
if video_url:
|
||||||
ext = determine_ext(video_url)
|
ext = determine_ext(video_url)
|
||||||
|
if ext == 'm3u8':
|
||||||
|
continue
|
||||||
bitrate = int_or_none(self._search_regex(
|
bitrate = int_or_none(self._search_regex(
|
||||||
r'(\d+)\.%s' % ext, video_url, 'bitrate', default=None))
|
r'(\d+)\.%s' % ext, video_url, 'bitrate', default=None))
|
||||||
formats.append({
|
formats.append({
|
||||||
|
Loading…
Reference in New Issue
Block a user