mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 09:07:58 +01:00
[YoutubeDL] use a more correct terminology in the error message for file:// URLs
This commit is contained in:
parent
4240d50496
commit
30e2f2d76f
1 changed files with 1 additions and 1 deletions
|
@ -1994,7 +1994,7 @@ def _setup_opener(self):
|
|||
file_handler = compat_urllib_request.FileHandler()
|
||||
|
||||
def file_open(*args, **kwargs):
|
||||
raise compat_urllib_error.URLError('file:/// protocol is explicitly disabled in youtube-dl for security reasons')
|
||||
raise compat_urllib_error.URLError('file:// scheme is explicitly disabled in youtube-dl for security reasons')
|
||||
file_handler.file_open = file_open
|
||||
|
||||
opener = compat_urllib_request.build_opener(
|
||||
|
|
Loading…
Reference in a new issue