删除无用判断

This commit is contained in:
Jing Ling
2019-08-21 16:42:57 +08:00
committed by GitHub
parent 76fc12c365
commit 2c581c31aa
+3 -4
View File
@@ -25,10 +25,9 @@ class DNSdbAPI(Query):
resp = self.get(url)
if not resp:
return
if resp.status_code == 200:
subdomains = utils.match_subdomain(self.domain, resp.text)
# 合并搜索子域名搜索结果
self.subdomains = self.subdomains.union(subdomains)
subdomains = utils.match_subdomain(self.domain, resp.text)
# 合并搜索子域名搜索结果
self.subdomains = self.subdomains.union(subdomains)
def run(self):
"""