移除没有必要的请求时延

This commit is contained in:
shmilylty
2019-12-17 18:50:36 +08:00
parent 05141046bd
commit 6f4fd16cdb
23 changed files with 0 additions and 49 deletions
@@ -1,5 +1,3 @@
import time
from common.query import Query
@@ -14,7 +12,6 @@ class AlienVault(Query):
"""
向接口查询子域并做子域匹配
"""
time.sleep(self.delay)
self.header = self.get_header()
self.proxy = self.get_proxy(self.source)
@@ -1,5 +1,3 @@
import time
from common.query import Query
@@ -15,7 +13,6 @@ class ThreatMiner(Query):
"""
向接口查询子域并做子域匹配
"""
time.sleep(self.delay)
self.header = self.get_header()
self.proxy = self.get_proxy(self.source)
params = {'e': 'subdomains_container',
@@ -1,5 +1,3 @@
import time
from common.query import Query
'''
@@ -21,7 +19,6 @@ class VirusTotal(Query):
"""
next_cursor = ''
while True:
time.sleep(self.delay)
self.header = self.get_header()
self.header.update({'Referer': 'https://www.virustotal.com/',
'TE': 'Trailers'})