mirror of
https://github.com/RicterZ/nhentai.git
synced 2025-08-02 12:52:28 +02:00
urlparse for python3(再犯错我直播吃屎)
This commit is contained in:
@@ -18,6 +18,6 @@ def urlparse(url):
|
|||||||
try:
|
try:
|
||||||
from urlparse import urlparse
|
from urlparse import urlparse
|
||||||
except ImportError:
|
except ImportError:
|
||||||
from urlparse.parse import urlparse
|
from urllib.parse import urlparse
|
||||||
|
|
||||||
return urlparse(url)
|
return urlparse(url)
|
||||||
|
Reference in New Issue
Block a user