A feature-rich command-line audio/video downloader
HTTPError is in urllib.error in Python 3, not in http.error
Jaime Marquínez Ferrándiz0e283428f777
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.pyindex f78b5fe788..e6fa634a7f 100644--- a/youtube_dl/utils.py+++ b/youtube_dl/utils.py@@ -61,7 +61,7 @@ except ImportError: # Python 2import httplib as compat_http_clienttry:- from http.error import HTTPError as compat_HTTPError+ from urllib.error import HTTPError as compat_HTTPErrorexcept ImportError: # Python 2from urllib2 import HTTPError as compat_HTTPError