fix search

This commit is contained in:
Antonio J. Delgado 2025-08-10 12:06:36 +03:00
parent 147374f554
commit ce94fc4074

View file

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