fix regex

This commit is contained in:
Antonio J. Delgado 2025-08-10 11:55:49 +03:00
parent 77819462c1
commit c878422243

View file

@ -410,7 +410,7 @@ class GetYoutubeVideos:
result = 'retrying (format error)'
elif 'Unable to download video subtitles for' in f"{error}":
subtitle_match = re.match(
r"Unable to download video subtitles for '([a-z]*)' ",
r"Unable to download video subtitles for '([a-z]*)':",
f"{error}"
)
if not subtitle_match: