mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 12:57:50 +08:00
更新Spyse查询接口
This commit is contained in:
@@ -21,7 +21,7 @@ class SpyseAPI(Query):
|
|||||||
self.header = self.get_header()
|
self.header = self.get_header()
|
||||||
self.header.update({'Authorization': 'Bearer ' + self.token})
|
self.header.update({'Authorization': 'Bearer ' + self.token})
|
||||||
self.proxy = self.get_proxy(self.source)
|
self.proxy = self.get_proxy(self.source)
|
||||||
addr = 'https://api.spyse.com/v2/data/domain/subdomain'
|
addr = 'https://api.spyse.com/v3/data/domain/subdomain'
|
||||||
params = {'domain': self.domain, 'offset': offset, 'limit': limit}
|
params = {'domain': self.domain, 'offset': offset, 'limit': limit}
|
||||||
resp = self.get(addr, params)
|
resp = self.get(addr, params)
|
||||||
if not resp:
|
if not resp:
|
||||||
|
|||||||
Reference in New Issue
Block a user