mirror of
https://github.com/RicterZ/nhentai.git
synced 2025-04-20 11:01:17 +02:00
fix https error
This commit is contained in:
parent
9549c5f5a2
commit
043f391d04
@ -1,3 +1,3 @@
|
|||||||
__version__ = '0.2.2'
|
__version__ = '0.2.4'
|
||||||
__author__ = 'Ricter'
|
__author__ = 'Ricter'
|
||||||
__email__ = 'ricterzheng@gmail.com'
|
__email__ = 'ricterzheng@gmail.com'
|
||||||
|
@ -14,7 +14,7 @@ def request(method, url, **kwargs):
|
|||||||
if not hasattr(requests, method):
|
if not hasattr(requests, method):
|
||||||
raise AttributeError('\'requests\' object has no attribute \'{0}\''.format(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_):
|
def doujinshi_parser(id_):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user