This commit is contained in:
Jing Ling
2020-08-19 13:18:17 +08:00
parent 53abb0fc90
commit 6a0df57dd7
2 changed files with 5 additions and 6 deletions
+1 -2
View File
@@ -26,8 +26,7 @@ class Search(Module):
:rtype: str
"""
statements_list = []
subdomains_temp = set(map(lambda x: x + '.' + domain,
settings.subdomains_common))
subdomains_temp = set(map(lambda x: x + '.' + domain, settings.common_subnames))
subdomains_temp = list(subdomain.intersection(subdomains_temp))
for i in range(0, len(subdomains_temp), 2): # 同时排除2个子域
statements_list.append(''.join(set(map(lambda s: ' -site:' + s,