Browse Source

Fall back to urllib instead of urllib2 for Python 3 urllib.parse

master
Philipp Hagemeister 12 years ago
parent
commit
da779b4924
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/utils.py

2
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

Loading…
Cancel
Save