diff options
author | Philipp Hagemeister <[email protected]> | 2014-08-22 02:45:21 +0200 |
---|---|---|
committer | Philipp Hagemeister <[email protected]> | 2014-08-22 02:45:21 +0200 |
commit | bd9820c937be846e0e1067395fbf133102c45e79 (patch) | |
tree | f9772e109032b3f44bfb6922164a896e36d589d5 /youtube_dl | |
parent | deda8ac376efba365aa29bc31d4e37db03d0babd (diff) | |
parent | 7e660ac113b5af8f92de2bbc9579426ea3d89581 (diff) | |
download | youtube-dl-bd9820c937be846e0e1067395fbf133102c45e79.tar.gz youtube-dl-bd9820c937be846e0e1067395fbf133102c45e79.zip |
Merge remote-tracking branch 'liudongmiao/patch-subtitle'
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/youtube.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index 2c44f36a5..225e2b7f4 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -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, |