mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-10-25 00:56:14 +08:00
更改api名称
This commit is contained in:
+1
-1
@@ -42,7 +42,7 @@ threatbook_api_key = ''
|
|||||||
virustotal_api_key = ''
|
virustotal_api_key = ''
|
||||||
|
|
||||||
# https://www.zoomeye.org/doc?channel=api
|
# https://www.zoomeye.org/doc?channel=api
|
||||||
zoomeye_api_username = ''
|
zoomeye_api_usermail = ''
|
||||||
zoomeye_api_password = ''
|
zoomeye_api_password = ''
|
||||||
|
|
||||||
# Spyse可以免费注册获取API: https://spyse.com/
|
# Spyse可以免费注册获取API: https://spyse.com/
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ class ZoomEyeAPI(Search):
|
|||||||
self.source = 'ZoomEyeAPISearch'
|
self.source = 'ZoomEyeAPISearch'
|
||||||
self.addr = 'https://api.zoomeye.org/web/search'
|
self.addr = 'https://api.zoomeye.org/web/search'
|
||||||
self.delay = 2
|
self.delay = 2
|
||||||
self.user = api.zoomeye_api_username
|
self.user = api.zoomeye_api_usermail
|
||||||
self.pwd = api.zoomeye_api_password
|
self.pwd = api.zoomeye_api_password
|
||||||
|
|
||||||
def login(self):
|
def login(self):
|
||||||
@@ -83,4 +83,4 @@ def do(domain): # 统一入口名字 方便多线程调用
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
do('example.com')
|
do('mi.com')
|
||||||
|
|||||||
Reference in New Issue
Block a user