0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-27 03:03:01 +00:00

[livestream] skip m3u8 manifest in progressive_urls

This commit is contained in:
remitamine 2015-12-27 14:58:57 +01:00
parent dbfd06730c
commit 7b81316508

View file

@ -97,6 +97,8 @@ def _extract_video_info(self, video_data):
video_url = video_data.get(key)
if video_url:
ext = determine_ext(video_url)
if ext == 'm3u8':
continue
bitrate = int_or_none(self._search_regex(
r'(\d+)\.%s' % ext, video_url, 'bitrate', default=None))
formats.append({