[tvigle] Skip hls completely (#9259)

pull/2/head
Sergey M․ 9 years ago
parent a292cba256
commit 1988647dda
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

@ -83,10 +83,10 @@ class TvigleIE(InfoExtractor):
formats = [] formats = []
for vcodec, fmts in item['videos'].items(): for vcodec, fmts in item['videos'].items():
if vcodec == 'hls':
continue
for format_id, video_url in fmts.items(): for format_id, video_url in fmts.items():
if format_id == 'm3u8': if format_id == 'm3u8':
formats.extend(self._extract_m3u8_formats(
video_url, video_id, 'mp4', m3u8_id=vcodec))
continue continue
height = self._search_regex( height = self._search_regex(
r'^(\d+)[pP]$', format_id, 'height', default=None) r'^(\d+)[pP]$', format_id, 'height', default=None)

Loading…
Cancel
Save