projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d420d8d
)
[youtube] Correct subtitle URL (Fixes #2120)
author
Philipp Hagemeister
<phihag@phihag.de>
Thu, 9 Jan 2014 00:36:21 +0000
(
01:36
+0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Thu, 9 Jan 2014 00:36:21 +0000
(
01:36
+0100)
youtube_dl/extractor/youtube.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/youtube.py
b/youtube_dl/extractor/youtube.py
index 8361dda7a4089faf63b3639de6980cf986279329..70b8decf431bb74455a92baf0270ffa1f2f755ca 100644
(file)
--- a/
youtube_dl/extractor/youtube.py
+++ b/
youtube_dl/extractor/youtube.py
@@
-998,7
+998,7
@@
class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor):
'lang': lang,
'v': video_id,
'fmt': self._downloader.params.get('subtitlesformat', 'srt'),
- 'name':
l[0]
.encode('utf-8'),
+ 'name':
unescapeHTML(l[0])
.encode('utf-8'),
})
url = u'http://www.youtube.com/api/timedtext?' + params
sub_lang_list[lang] = url