From f040705f67a98828a71b83e7129c68b63359f9f0 Mon Sep 17 00:00:00 2001 From: sepro Date: Wed, 20 Nov 2024 02:49:42 +0100 Subject: [PATCH] Reword error message --- yt_dlp/extractor/bunnycdn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/extractor/bunnycdn.py b/yt_dlp/extractor/bunnycdn.py index e46e52e6a..e019183ce 100644 --- a/yt_dlp/extractor/bunnycdn.py +++ b/yt_dlp/extractor/bunnycdn.py @@ -122,7 +122,7 @@ def _real_extract(self, url): query=traverse_obj(parse_qs(url), {'token': 'token', 'expires': 'expires'})) if html_title := self._html_extract_title(webpage, default=None) == '403': - raise ExtractorError('This video is inaccessible. Consider passing a Referer', expected=True) + raise ExtractorError('This video is inaccessible. Setting a Referer header might be required to access the video', expected=True) elif html_title == '404': raise ExtractorError('This video does not exist', expected=True)