projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60d142a
)
[youtube] Encode subtitle track name in request (Fixes #1700)
author
Philipp Hagemeister
<phihag@phihag.de>
Sat, 2 Nov 2013 10:21:05 +0000
(11:21 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Sat, 2 Nov 2013 10:21:05 +0000
(11:21 +0100)
youtube_dl/extractor/youtube.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/youtube.py
b/youtube_dl/extractor/youtube.py
index f3a2a32b43faf6799358994409437140ff950fff..dc601de520bae7f83b5e64aa87a1f7e77161385c 100644
(file)
--- a/
youtube_dl/extractor/youtube.py
+++ b/
youtube_dl/extractor/youtube.py
@@
-1111,7
+1111,7
@@
class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor):
'lang': lang,
'v': video_id,
'fmt': self._downloader.params.get('subtitlesformat'),
- 'name': l[0],
+ 'name': l[0]
.encode('utf-8')
,
})
url = u'http://www.youtube.com/api/timedtext?' + params
sub_lang_list[lang] = url