模块优化

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
+2
View File
@@ -32,6 +32,8 @@ class WZPCQuery(Query):
if not resp:
break
subdomains = self.match_subdomains(resp.text)
if not subdomains: # 没有发现子域名则停止查询
break
self.subdomains = self.subdomains.union(subdomains)
if not subdomains:
break