mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-22 02:15:12 +00:00
Reword error message
This commit is contained in:
parent
b3fc89d98e
commit
f040705f67
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue