From cc2f0521b39925bf4117d098dd190e026fda7575 Mon Sep 17 00:00:00 2001 From: Ricter Z Date: Mon, 17 Oct 2016 21:56:53 +0800 Subject: [PATCH] =?UTF-8?q?urlparse=20for=20python3(=E5=86=8D=E7=8A=AF?= =?UTF-8?q?=E9=94=99=E6=88=91=E7=9B=B4=E6=92=AD=E5=90=83=E5=B1=8E)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nhentai/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nhentai/utils.py b/nhentai/utils.py index b35bf94..93bdf8c 100644 --- a/nhentai/utils.py +++ b/nhentai/utils.py @@ -18,6 +18,6 @@ def urlparse(url): try: from urlparse import urlparse except ImportError: - from urlparse.parse import urlparse + from urllib.parse import urlparse return urlparse(url)