fix regedx
This commit is contained in:
parent
c878422243
commit
caca298b52
1 changed files with 1 additions and 1 deletions
|
@ -410,7 +410,7 @@ class GetYoutubeVideos:
|
||||||
result = 'retrying (format error)'
|
result = 'retrying (format error)'
|
||||||
elif 'Unable to download video subtitles for' in f"{error}":
|
elif 'Unable to download video subtitles for' in f"{error}":
|
||||||
subtitle_match = re.match(
|
subtitle_match = re.match(
|
||||||
r"Unable to download video subtitles for '([a-z]*)':",
|
r"Unable to download video subtitles for '([a-z]*)'",
|
||||||
f"{error}"
|
f"{error}"
|
||||||
)
|
)
|
||||||
if not subtitle_match:
|
if not subtitle_match:
|
||||||
|
|
Loading…
Reference in a new issue