Browse Source

[livestream] skip m3u8 manifest in progressive_urls

master
remitamine 9 years ago
parent
commit
7b81316508
1 changed files with 2 additions and 0 deletions
  1. 2
      youtube_dl/extractor/livestream.py

2
youtube_dl/extractor/livestream.py

@ -97,6 +97,8 @@ class LivestreamIE(InfoExtractor):
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({

Loading…
Cancel
Save