mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 12:57:50 +08:00
移除没有必要的请求时延
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import time
|
||||
import config
|
||||
from common.query import Query
|
||||
from config import logger
|
||||
@@ -38,7 +37,6 @@ class CensysAPI(Query):
|
||||
self.subdomains = self.subdomains.union(subdomains)
|
||||
pages = json.get('metadata').get('pages')
|
||||
for page in range(2, pages + 1):
|
||||
time.sleep(self.delay)
|
||||
data['page'] = page
|
||||
resp = self.post(self.addr, json=data, auth=(self.id, self.secret))
|
||||
if not resp:
|
||||
|
||||
Reference in New Issue
Block a user