Commit e7a8582c authored by Yaowentong's avatar Yaowentong

1

parent 5c5131e5
...@@ -44,11 +44,7 @@ def deepseek_process_original_data(data): ...@@ -44,11 +44,7 @@ def deepseek_process_original_data(data):
# 提取并解析JSON数据 # 提取并解析JSON数据
data_str = item.split("data: ")[1] data_str = item.split("data: ")[1]
json_data = json.loads(data_str) json_data = json.loads(data_str)
print(json_data)
print('----')
print('----')
print('----')
print('----')
except (IndexError, json.JSONDecodeError): except (IndexError, json.JSONDecodeError):
continue # 跳过格式错误的数据 continue # 跳过格式错误的数据
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment