4
0
mirror of https://github.com/RicterZ/nhentai.git synced 2025-05-04 18:36:24 +02:00
2016-10-17 21:43:40 +08:00

13 lines
255 B
Python

import os
import urlparse
BASE_URL = os.getenv('NHENTAI', 'https://nhentai.net')
DETAIL_URL = '%s/g' % BASE_URL
SEARCH_URL = '%s/search/' % BASE_URL
u = urlparse.urlparse(BASE_URL)
IMAGE_URL = '%s://i.%s/galleries' % (u.scheme, u.hostname)
PROXY = {}