mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-12-23 06:57:54 +01:00
[livestream] skip m3u8 manifest in progressive_urls
This commit is contained in:
parent
dbfd06730c
commit
7b81316508
@ -97,6 +97,8 @@ class LivestreamIE(InfoExtractor):
|
|||||||
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