parent
ed3bb2b0a1
commit
615a84447e
19 changed files with 80 additions and 94 deletions
|
|
@ -142,10 +142,10 @@ class ArteTVIE(ArteTVBaseIE):
|
|||
def _fix_accessible_subs_locale(subs):
|
||||
updated_subs = {}
|
||||
for lang, sub_formats in subs.items():
|
||||
for format in sub_formats:
|
||||
if format.get('url', '').endswith('-MAL.m3u8'):
|
||||
for fmt in sub_formats:
|
||||
if fmt.get('url', '').endswith('-MAL.m3u8'):
|
||||
lang += '-acc'
|
||||
updated_subs.setdefault(lang, []).append(format)
|
||||
updated_subs.setdefault(lang, []).append(fmt)
|
||||
return updated_subs
|
||||
|
||||
def _real_extract(self, url):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue