From 2328d05e0897f7dc1044fea8c3d5e82b216d6a26 Mon Sep 17 00:00:00 2001 From: Easy Date: Wed, 3 Nov 2021 13:31:37 +0800 Subject: [PATCH] Update notify.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更换新版Server酱api地址 --- sample/notify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sample/notify.py b/sample/notify.py index b9a39c69..13b5e70a 100644 --- a/sample/notify.py +++ b/sample/notify.py @@ -95,7 +95,7 @@ def serverJ(title, content): "text": title, "desp": content.replace("\n", "\n\n") } - response = requests.post(f"https://sc.ftqq.com/{SCKEY}.send", data=data).json() + response = requests.post(f"https://sctapi.ftqq.com/{SCKEY}.send", data=data).json() if response['errno'] == 0: print('推送成功!') else: