diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2014-08-22 02:45:21 +0200 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2014-08-22 02:45:21 +0200 |
commit | bd9820c937be846e0e1067395fbf133102c45e79 (patch) | |
tree | f9772e109032b3f44bfb6922164a896e36d589d5 | |
parent | deda8ac376efba365aa29bc31d4e37db03d0babd (diff) | |
parent | 7e660ac113b5af8f92de2bbc9579426ea3d89581 (diff) |
Merge remote-tracking branch 'liudongmiao/patch-subtitle'
-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, |