diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2012-11-27 23:58:47 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2012-11-27 23:58:47 +0100 |
commit | da779b4924eb3078233c7f5730e26cc73dd91a4a (patch) | |
tree | cefee4f1f2897e146654621a8605c295620ba1b3 | |
parent | 89fb51dd2d4d7464b919f17b9d5d24a448319dfc (diff) |
Fall back to urllib instead of urllib2 for Python 3 urllib.parse
-rw-r--r-- | youtube_dl/utils.py | 2 |
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 |