mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-03 09:40:30 +00:00
Merge remote-tracking branch 'liudongmiao/patch-subtitle'
This commit is contained in:
commit
bd9820c937
@ -508,6 +508,8 @@ def _get_available_subtitles(self, video_id, webpage):
|
|||||||
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,
|
||||||
|
Loading…
Reference in New Issue
Block a user