mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 04:47:48 +08:00
忽略无解析结果的子域
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user