aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py
index ccefc66a0..ac7e161af 100644
--- a/youtube_dl/utils.py
+++ b/youtube_dl/utils.py
@@ -43,7 +43,7 @@ except ImportError: # Python 2
try:
import urllib.parse as compat_urllib_parse
except ImportError: # Python 2
- import urllib2 as compat_urllib_parse
+ import urllib as compat_urllib_parse
try:
import http.cookiejar as compat_cookiejar