修改节点脚本

This commit is contained in:
2025-12-22 22:33:18 +08:00
parent 75b32b4bcd
commit ae29ea2f6d
3 changed files with 34 additions and 3 deletions

16
nodes/iteration_output.py Normal file
View File

@@ -0,0 +1,16 @@
def main(iteration_output: dict, url: str, len_chunks: float, body: str, status_code: float):
'''
迭代器运行结果记录
iteration_output: 迭代器运行结果记录
url: 待处理的URL
len_chunks: 分块后的文本块数量
body: 从URL获取的响应体
status_code: 从URL获取的响应状态码
'''
if iteration_output is None:
iteration_output = {}
return {
"result": arg1 + arg2,
}