mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 09:07:58 +01:00
Fall back to urllib instead of urllib2 for Python 3 urllib.parse
This commit is contained in:
parent
89fb51dd2d
commit
da779b4924
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@
|
|||
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…
Reference in a new issue