mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 06:10:12 +01:00
Reword error message
This commit is contained in:
parent
b3fc89d98e
commit
f040705f67
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user