mirror of
https://github.com/RicterZ/nhentai.git
synced 2025-04-20 19:01:23 +02:00
urlparse for python3
This commit is contained in:
parent
6858bacd41
commit
97b2ba8fd2
@ -18,6 +18,6 @@ def urlparse(url):
|
|||||||
try:
|
try:
|
||||||
from urlparse import urlparse
|
from urlparse import urlparse
|
||||||
except ImportError:
|
except ImportError:
|
||||||
import urllib.parse as urlparse
|
from urllib import parse as urlparse
|
||||||
|
|
||||||
return urlparse(url)
|
return urlparse(url)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user