mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 04:47:48 +08:00
1.暂时使用旧版指纹识别
2.调整模块默认超时时间为2分钟
This commit is contained in:
+2
-2
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user