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