all subs as list

This commit is contained in:
Antonio J. Delgado 2025-08-10 12:20:11 +03:00
parent 69e64bad83
commit a0e3c7e18c

View file

@ -283,7 +283,7 @@ class GetYoutubeVideos:
if not video_info: if not video_info:
break break
if video_info['subtitles']: if video_info['subtitles']:
if self.config['subtitle_langs'] == 'all': if self.config['subtitle_langs'] == ['all']:
downloadable_subtitles = video_info['subtitles'] downloadable_subtitles = video_info['subtitles']
else: else:
for subtitle in self.config['subtitle_langs']: for subtitle in self.config['subtitle_langs']: