1.暂时使用旧版指纹识别

2.调整模块默认超时时间为2分钟
This commit is contained in:
Jing Ling
2020-08-18 22:01:09 +08:00
parent 15e96800fa
commit 17aeb02ce2
4 changed files with 6 additions and 12 deletions
+2 -2
View File
@@ -172,8 +172,8 @@ def request_callback(future, index, datas):
else:
datas[index]['alive'] = 1
headers = resp.headers
# 采用webanalyzer的指纹识别 原banner识别弃用
# datas[index]['banner'] = utils.get_sample_banner(headers)
if settings.enable_banner_identify:
datas[index]['banner'] = utils.get_sample_banner(headers)
datas[index]['header'] = json.dumps(dict(headers))
if isinstance(text, str):
title = get_title(text).strip()