模块优化

This commit is contained in:
Jing Ling
2020-08-14 01:49:53 +08:00
parent 15027ef82e
commit fedf0daf76
5 changed files with 9 additions and 8 deletions
+1 -5
View File
@@ -17,11 +17,7 @@ class Ximcx(Query):
self.proxy = self.get_proxy(self.source)
data = {'domain': self.domain}
resp = self.post(self.addr, data=data)
if not resp:
return
json = resp.json()
subdomains = self.match_subdomains(str(json))
self.subdomains = self.subdomains.union(subdomains)
self.subdomains = self.collect_subdomains(resp)
def run(self):
"""