mirror of
https://github.com/l1ving/youtube-dl
synced 2020-11-18 19:53:54 -08:00
Fixed the 403 Forbidden chaos and mayhem.
Don't thank me.
This commit is contained in:
parent
2468a6fa64
commit
5e27882049
@ -1925,7 +1925,7 @@ class YoutubeDL(object):
|
||||
# Just a single file
|
||||
success = dl(filename, info_dict)
|
||||
except (compat_urllib_error.URLError, compat_http_client.HTTPException, socket.error) as err:
|
||||
self.report_error('unable to download video data: %s' % error_to_compat_str(err))
|
||||
self.report_error('unable to download video data: %s\nTry --rm-cache-dir if error persists.' % error_to_compat_str(err))
|
||||
return
|
||||
except (OSError, IOError) as err:
|
||||
raise UnavailableVideoError(err)
|
||||
|
Loading…
x
Reference in New Issue
Block a user