From bc1247d80f3b306a9fd24dbc8db1c26e733edde1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A3=8E=E8=B5=B7?= <37897216+wikiZ@users.noreply.github.com> Date: Fri, 22 Oct 2021 11:29:38 +0800 Subject: [PATCH] Update zoomeye.py --- kunyu/core/zoomeye.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/kunyu/core/zoomeye.py b/kunyu/core/zoomeye.py index 032277f..c5ae6fa 100644 --- a/kunyu/core/zoomeye.py +++ b/kunyu/core/zoomeye.py @@ -83,14 +83,16 @@ def __request(self, login_url, data=None, headers=None): login_url, data=data, headers=headers, - timeout=30 + timeout=30, + verify=False ) else: resp = requests.post( login_url, data=data, headers=headers, - timeout=30 + timeout=30, + verify=False ) self.check_status(resp) self.check_error(resp.json())