Fix network error regex
This commit is contained in:
parent
55094a859f
commit
a4cc02ae2e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user