Open scccy opened 2 days ago
@scccy 哪个?就是post的呀
这是HTTPError: Response code 431 (Request Header Fields Too Large) 然后我去看了sendNotify.js跟sendNotify.py
def bark(title, content): print("\n") if BARK: try: response = requests.get( f"""https://api.day.app/{BARK}/{title}/{urllib.parse.quote_plus(content)}""").json() if response['code'] == 200: print('推送成功!') else: print('推送失败!') except: print('推送失败!') if BARK_PUSH: try: response = requests.get( f"""{BARK_PUSH}/{title}/{urllib.parse.quote_plus(content)}""").json() if response['code'] == 200: print('推送成功!') else: print('推送失败!') except: print('推送失败!') print("bark服务启动") if BARK=='' and BARK_PUSH=='': print("bark服务的bark_token未设置!!\n取消推送") return
Bark APP发送通知调用API失败!!
HTTPError: Response code 431 (Request Header Fields Too Large)
at Request.
@scccy 分段吧,太多post也不行
@scccy 分段吧,太多post也不行
这个需要我在用户端修改吗
@scccy 什么通知报的
资产统计还有农场 现在jd的推送我都收不到了
@scccy 看readme里,分组通知等用法参考[notify.md]
get 请求body过大 多用户下无法推送