Browse Source

[youtube] set the 'name' parameter in the subtitles url (fixes #1577)

rtmp_test
Jaime Marquínez Ferrándiz 11 years ago
parent
commit
a34c2faae4
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      youtube_dl/extractor/youtube.py

+ 1
- 0
youtube_dl/extractor/youtube.py View File

@ -1116,6 +1116,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor):
'lang': lang,
'v': video_id,
'fmt': self._downloader.params.get('subtitlesformat'),
'name': l[0],
})
url = u'http://www.youtube.com/api/timedtext?' + params
sub_lang_list[lang] = url


Loading…
Cancel
Save