From 35e5ea9caf8a193d0bdd3469380e7ea6f65fdcdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A3=8E=E8=B5=B7?= <37897216+wikiZ@users.noreply.github.com> Date: Sun, 14 Nov 2021 15:23:23 +0800 Subject: [PATCH] Update Kunyu Version V1.6.0 --- kunyu/core/zoomeye.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kunyu/core/zoomeye.py b/kunyu/core/zoomeye.py index fd50d7e..35e10d0 100644 --- a/kunyu/core/zoomeye.py +++ b/kunyu/core/zoomeye.py @@ -81,14 +81,14 @@ def __request(self, login_url, data=None, headers=None): the processed data is received and returned to the original data, which is displayed on the terminal after processing by the presentation layer. """ - timeout = int(GlobalVar.get_timeout_resp()) + time = int(GlobalVar.get_timeout_resp()) # The API is not available for tourist users if self.method == "GET": resp = requests.get( login_url, data=data, headers=headers, - timeout=timeout, + timeout=time, verify=False ) else: @@ -96,7 +96,7 @@ def __request(self, login_url, data=None, headers=None): login_url, data=data, headers=headers, - timeout=timeout, + timeout=time, verify=False ) self.check_status(resp) @@ -550,4 +550,4 @@ def command_hostcrash(cls, args): logger.warning("Please Host IP and Domain\n") except KeyboardInterrupt: - return \ No newline at end of file + return