From 5e27882049e5f07149748fd307f25826381989ff Mon Sep 17 00:00:00 2001 From: a-raccoon Date: Wed, 29 Apr 2020 23:34:20 -0600 Subject: [PATCH] Fixed the 403 Forbidden chaos and mayhem. Don't thank me. --- youtube_dl/YoutubeDL.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 19370f62b0d..8cf58f01944 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -1925,7 +1925,7 @@ def compatible_formats(formats): # 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)