Update app.py
Browse files
app.py
CHANGED
@@ -140,7 +140,7 @@ def request_to_v2(message, cookie, user_id,context=[]):
|
|
140 |
print(bots)
|
141 |
|
142 |
## 拦截违法数据,错误的数据。
|
143 |
-
if "
|
144 |
|
145 |
response =">>>>>> 查询失败\n报错信息为:"+ str(bots) + f"\n response信息:\n错误代码:{404}\n错误信息{str(bots)}"
|
146 |
print(response)
|
|
|
140 |
print(bots)
|
141 |
|
142 |
## 拦截违法数据,错误的数据。
|
143 |
+
if "disabled for violating" in str(bots):
|
144 |
|
145 |
response =">>>>>> 查询失败\n报错信息为:"+ str(bots) + f"\n response信息:\n错误代码:{404}\n错误信息{str(bots)}"
|
146 |
print(response)
|