mirror of https://github.com/yt-dlp/yt-dlp.git
Reword error message
This commit is contained in:
parent
b3fc89d98e
commit
f040705f67
|
@ -122,7 +122,7 @@ class BunnyCDNIE(InfoExtractor):
|
||||||
query=traverse_obj(parse_qs(url), {'token': 'token', 'expires': 'expires'}))
|
query=traverse_obj(parse_qs(url), {'token': 'token', 'expires': 'expires'}))
|
||||||
|
|
||||||
if html_title := self._html_extract_title(webpage, default=None) == '403':
|
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':
|
elif html_title == '404':
|
||||||
raise ExtractorError('This video does not exist', expected=True)
|
raise ExtractorError('This video does not exist', expected=True)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue