]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[YoutubeDL] use a more correct terminology in the error message for file:// URLs
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Thu, 14 Jan 2016 15:28:46 +0000 (16:28 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Thu, 14 Jan 2016 15:28:46 +0000 (16:28 +0100)
youtube_dl/YoutubeDL.py

index 4915fbd45f404ec52c9b9bc96e573251083be8a5..6b73b8e06e0b53e5fb7764deaa349d8370f313dd 100755 (executable)
@@ -1994,7 +1994,7 @@ class YoutubeDL(object):
         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(