projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4c1d6e
)
[svt] Fix DASH formats extraction
author
Sergey M․
<dstftw@gmail.com>
Sat, 17 Sep 2016 12:25:31 +0000
(19:25 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 17 Sep 2016 12:25:31 +0000
(19:25 +0700)
youtube_dl/extractor/svt.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/svt.py
b/youtube_dl/extractor/svt.py
index 1c04dfb7bf757477d134cc7caa223ab47d0800ba..fb0a4b24ef5bf65ff13ca2288395f09540e71d48 100644
(file)
--- a/
youtube_dl/extractor/svt.py
+++ b/
youtube_dl/extractor/svt.py
@@
-16,7
+16,7
@@
class SVTBaseIE(InfoExtractor):
def _extract_video(self, video_info, video_id):
formats = []
for vr in video_info['videoReferences']:
- player_type = vr.get('playerType')
+ player_type = vr.get('playerType')
or vr.get('format')
vurl = vr['url']
ext = determine_ext(vurl)
if ext == 'm3u8':