aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl/extractor/vgtv.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-05-30 15:14:10 +0600
committerSergey M․ <dstftw@gmail.com>2015-05-30 15:14:10 +0600
commit5c2191a6053cb5b1210cef68406e8a52e86fd9fd (patch)
tree7fe1b256ce6d84faa7f26c3de69f9baa93761fd5 /youtube_dl/extractor/vgtv.py
parentbba5bfc89056f0e3e677046484d30bf29c877ab4 (diff)
downloadyoutube-dl-5c2191a6053cb5b1210cef68406e8a52e86fd9fd.zip
youtube-dl-5c2191a6053cb5b1210cef68406e8a52e86fd9fd.tar.gz
youtube-dl-5c2191a6053cb5b1210cef68406e8a52e86fd9fd.tar.bz2
[vgtv] Skip wasLive hds (Closes #5835)
Diffstat (limited to 'youtube_dl/extractor/vgtv.py')
-rw-r--r--youtube_dl/extractor/vgtv.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/vgtv.py b/youtube_dl/extractor/vgtv.py
index e6ee1e4..6542984 100644
--- a/youtube_dl/extractor/vgtv.py
+++ b/youtube_dl/extractor/vgtv.py
@@ -107,7 +107,8 @@ class VGTVIE(InfoExtractor):
hls_url, video_id, 'mp4', m3u8_id='hls'))
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(
hds_url + '?hdcore=3.2.0&plugin=aasp-3.2.0.77.18',
video_id, f4m_id='hds'))