]> git.lizzy.rs Git - nhentai.git/blob - nhentai/constant.py
fix bug
[nhentai.git] / nhentai / constant.py
1 # coding: utf-8
2 from __future__ import unicode_literals, print_function
3 import os
4 from nhentai.utils import urlparse
5
6 BASE_URL = os.getenv('NHENTAI', 'https://nhentai.net')
7
8 DETAIL_URL = '%s/g' % BASE_URL
9 SEARCH_URL = '%s/search/' % BASE_URL
10
11 u = urlparse(BASE_URL)
12 IMAGE_URL = '%s://i.%s/galleries' % (u.scheme, u.hostname)
13
14 PROXY = {}