Fix network error regex

This commit is contained in:
A S Lewis 2020-12-13 08:18:32 +00:00
parent 55094a859f
commit a4cc02ae2e

View File

@ -4729,7 +4729,7 @@ class VideoDownloader(object):
# we'll detect the first part, which is a string generated by
# youtube-dl itself
if re.search(r'unable to download video data'):
if re.search(r'unable to download video data', stderr):
return True
else:
return False