projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bba5bfc
)
[vgtv] Skip wasLive hds (Closes #5835)
author
Sergey M․
<dstftw@gmail.com>
Sat, 30 May 2015 09:14:10 +0000
(15:14 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 30 May 2015 09:14:10 +0000
(15:14 +0600)
youtube_dl/extractor/vgtv.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/vgtv.py
b/youtube_dl/extractor/vgtv.py
index e6ee1e4715efc5d47dd3f9aa32d6559a5737a8ea..65429843113c6701513cda3934103c9dcb534a36 100644
(file)
--- 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'))