Browse Source

Merge remote-tracking branch 'liudongmiao/patch-subtitle'

totalwebcasting
Philipp Hagemeister 10 years ago
parent
commit
bd9820c937
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      youtube_dl/extractor/youtube.py

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

@ -508,6 +508,8 @@ class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor):
sub_lang_list = {}
for l in lang_list:
lang = l[1]
if lang in sub_lang_list:
continue
params = compat_urllib_parse.urlencode({
'lang': lang,
'v': video_id,


Loading…
Cancel
Save