fix https error

This commit is contained in:
Ricter Z 2016-11-23 22:45:03 +08:00
parent 9549c5f5a2
commit 043f391d04
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
__version__ = '0.2.2'
__version__ = '0.2.4'
__author__ = 'Ricter'
__email__ = 'ricterzheng@gmail.com'

View File

@ -14,7 +14,7 @@ def request(method, url, **kwargs):
if not hasattr(requests, method):
raise AttributeError('\'requests\' object has no attribute \'{0}\''.format(method))
return requests.__dict__[method](url, proxies=constant.PROXY, **kwargs)
return requests.__dict__[method](url, proxies=constant.PROXY, verify=False, **kwargs)
def doujinshi_parser(id_):