From e598c8686afdb7b50fff0fb017d3f69b0d3ba34c Mon Sep 17 00:00:00 2001 From: Ricter Z Date: Wed, 18 May 2016 21:22:27 +0800 Subject: [PATCH] modify constant.py --- nhentai/constant.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/nhentai/constant.py b/nhentai/constant.py index a0e4ea2..bb8e59e 100644 --- a/nhentai/constant.py +++ b/nhentai/constant.py @@ -1,6 +1,7 @@ SCHEMA = 'http://' -URL = '%snhentai.net' % SCHEMA +BASE_URL = 'nhentai.ricterz.me' +URL = '%s%s' % (SCHEMA, BASE_URL) DETAIL_URL = '%s/g' % URL SEARCH_URL = '%s/search/' % URL -IMAGE_URL = '%si.nhentai.net/galleries' % SCHEMA -PROXY = {} +IMAGE_URL = '%si.%s/galleries' % (SCHEMA, BASE_URL) +PROXY = {} \ No newline at end of file