mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 12:57:50 +08:00
新增new,header,response字段
This commit is contained in:
@@ -166,6 +166,8 @@ def request_callback(future, index, datas):
|
||||
'X-Powered-By': headers.get('X-Powered-By')})
|
||||
datas[index]['banner'] = banner
|
||||
datas[index]['title'] = get_title(text)
|
||||
datas[index]['header'] = str(dict(headers))
|
||||
datas[index]['response'] = text
|
||||
else:
|
||||
datas[index]['reason'] = 'Something error'
|
||||
datas[index]['valid'] = 0
|
||||
|
||||
Reference in New Issue
Block a user