[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
1 changed files with 2 additions and 0 deletions

View File

@ -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({