1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-26 10:24:33 +01:00

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

This commit is contained in:
Philipp Hagemeister 2014-08-22 02:45:21 +02:00
commit bd9820c937

View File

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