logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 7b81316508d676393d89a99b42fc15e3dcfeab73
parent dbfd06730c5e6e63c5ae447e507909031b5a7b9f
Author: remitamine <remitamine@gmail.com>
Date:   Sun, 27 Dec 2015 14:58:57 +0100

[livestream] skip m3u8 manifest in progressive_urls

Diffstat:

Myoutube_dl/extractor/livestream.py2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/youtube_dl/extractor/livestream.py b/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({