4
0
mirror of https://github.com/RicterZ/nhentai.git synced 2025-05-05 11:00:55 +02:00
This commit is contained in:
RicterZ 2019-06-12 22:48:41 +08:00
parent 1af195d727
commit 6b97777b7d

@ -2,7 +2,12 @@
from __future__ import unicode_literals, print_function from __future__ import unicode_literals, print_function
import os import os
import tempfile import tempfile
from nhentai.utils import urlparse
try:
from urlparse import urlparse
except ImportError:
from urllib.parse import urlparse
BASE_URL = os.getenv('NHENTAI', 'https://nhentai.net') BASE_URL = os.getenv('NHENTAI', 'https://nhentai.net')