更改api名称

This commit is contained in:
Jing Ling
2020-02-12 15:00:59 +08:00
parent 5695b36c77
commit 29e849ef1a
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ threatbook_api_key = ''
virustotal_api_key = ''
# https://www.zoomeye.org/doc?channel=api
zoomeye_api_username = ''
zoomeye_api_usermail = ''
zoomeye_api_password = ''
# Spyse可以免费注册获取API: https://spyse.com/
+2 -2
View File
@@ -12,7 +12,7 @@ class ZoomEyeAPI(Search):
self.source = 'ZoomEyeAPISearch'
self.addr = 'https://api.zoomeye.org/web/search'
self.delay = 2
self.user = api.zoomeye_api_username
self.user = api.zoomeye_api_usermail
self.pwd = api.zoomeye_api_password
def login(self):
@@ -83,4 +83,4 @@ def do(domain): # 统一入口名字 方便多线程调用
if __name__ == '__main__':
do('example.com')
do('mi.com')