diff options
author | remitamine <remitamine@gmail.com> | 2015-12-27 14:58:57 +0100 |
---|---|---|
committer | remitamine <remitamine@gmail.com> | 2015-12-27 14:58:57 +0100 |
commit | 7b81316508d676393d89a99b42fc15e3dcfeab73 (patch) | |
tree | 389d84ec9d5ddec276640d96dccbb954750a6d63 /youtube_dl/extractor | |
parent | dbfd06730c5e6e63c5ae447e507909031b5a7b9f (diff) |
[livestream] skip m3u8 manifest in progressive_urls
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/livestream.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/extractor/livestream.py b/youtube_dl/extractor/livestream.py index 11168fc4d..9c8d826c4 100644 --- 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({ |