Skip to content

Commit

Permalink
[ie/ArteTV] Fix refactor bug
Browse files Browse the repository at this point in the history
  • Loading branch information
vtexier committed May 18, 2024
1 parent 054b750 commit aee2a85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yt_dlp/extractor/arte.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ class ArteTVIE(ArteTVBaseIE):
def _fix_accessible_subs_locale(subs):
updated_subs = {}
for lang, sub_formats in subs.items():
for fmt in sub_formats:
url = fmt.get('url') or ''
for format in sub_formats:
url = format.get('url') or ''
suffix = ('acc' if url.endswith('-MAL.m3u8')
else 'partial' if '_VO' not in url
else None)
Expand Down

0 comments on commit aee2a85

Please sign in to comment.