fix search
This commit is contained in:
parent
147374f554
commit
ce94fc4074
1 changed files with 1 additions and 1 deletions
|
@ -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}"
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue