projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ca59da
)
[kanalplay] Use IETF language tag
author
Sergey M․
<dstftw@gmail.com>
Fri, 22 Jan 2016 19:51:18 +0000
(
01:51
+0600)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 22 Jan 2016 19:51:18 +0000
(
01:51
+0600)
youtube_dl/extractor/kanalplay.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/kanalplay.py
b/youtube_dl/extractor/kanalplay.py
index 4597d1b961a0fcae8137d3ec919fc2ce6ac31777..6c3498c6722e2312631cb6a327be4a90ba6d102f 100644
(file)
--- a/
youtube_dl/extractor/kanalplay.py
+++ b/
youtube_dl/extractor/kanalplay.py
@@
-49,7
+49,7
@@
class KanalPlayIE(InfoExtractor):
subs = self._download_json(
'http://www.kanal%splay.se/api/subtitles/%s' % (channel_id, video_id),
video_id, 'Downloading subtitles JSON', fatal=False)
- return {'s
e
': [{'ext': 'srt', 'data': self._fix_subtitles(subs)}]} if subs else {}
+ return {'s
v
': [{'ext': 'srt', 'data': self._fix_subtitles(subs)}]} if subs else {}
def _real_extract(self, url):
mobj = re.match(self._VALID_URL, url)