忽略无解析结果的子域

This commit is contained in:
Jing Ling
2020-08-30 22:28:21 +08:00
parent cbca6349e4
commit f587435ab1
-4
View File
@@ -47,10 +47,6 @@ def update_data(data, infos):
record = infos.get(subdomain) record = infos.get(subdomain)
if record: if record:
items.update(record) items.update(record)
else:
items['resolve'] = 0
items['alive'] = 0
items['reason'] = 'NoResult'
data[index] = items data[index] = items
return data return data