From e42f42d7db0e5a4aa49ed3e187cadaca7b4d6620 Mon Sep 17 00:00:00 2001 From: Ricter Z Date: Sat, 13 Aug 2016 20:03:40 +0800 Subject: [PATCH] use https --- nhentai/constant.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/nhentai/constant.py b/nhentai/constant.py index d07ff38..66656a3 100644 --- a/nhentai/constant.py +++ b/nhentai/constant.py @@ -1,8 +1,7 @@ import os -SCHEMA = os.getenv('NHENTAI_SCHEMA', 'http://') -# BASE_URL = 'nhentai.net' -BASE_URL = os.getenv('NHENTAI', 'nhentai.ricterz.me') +SCHEMA = os.getenv('NHENTAI_SCHEMA', 'https://') +BASE_URL = os.getenv('NHENTAI', 'nhentai.net') URL = '%s%s' % (SCHEMA, BASE_URL) DETAIL_URL = '%s/g' % URL