[vgtv] Skip wasLive hds (Closes #5835)

This commit is contained in:
Sergey M․ 2015-05-30 15:14:10 +06:00
parent bba5bfc890
commit 5c2191a605

View file

@ -107,7 +107,8 @@ def _real_extract(self, url):
hls_url, video_id, 'mp4', m3u8_id='hls')) hls_url, video_id, 'mp4', m3u8_id='hls'))
hds_url = streams.get('hds') hds_url = streams.get('hds')
if hds_url: # wasLive hds are always 404
if hds_url and data.get('streamType') != 'wasLive':
formats.extend(self._extract_f4m_formats( formats.extend(self._extract_f4m_formats(
hds_url + '?hdcore=3.2.0&plugin=aasp-3.2.0.77.18', hds_url + '?hdcore=3.2.0&plugin=aasp-3.2.0.77.18',
video_id, f4m_id='hds')) video_id, f4m_id='hds'))