[tv2.hu] Fix error caused by missing protocol in url

This commit is contained in:
Vukkk 2017-05-15 19:04:22 +02:00
parent cd182ba07a
commit 50c3d4c369

View File

@ -36,7 +36,7 @@ class TV2HuIE(InfoExtractor):
formats = []
for b in ('bitrates', 'backupBitrates'):
bitrates = json_data.get(b, {})
m3u8_url = bitrates.get('hls')
m3u8_url = 'http:' + bitrates.get('hls')
if m3u8_url:
formats.extend(self._extract_wowza_formats(
m3u8_url, video_id, skip_protocols=['rtmp', 'rtsp']))