Update notify.py

更换新版Server酱api地址
This commit is contained in:
Easy 2021-11-03 13:31:37 +08:00 committed by GitHub
parent d672d2d104
commit 2328d05e08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -95,7 +95,7 @@ def serverJ(title, content):
"text": title, "text": title,
"desp": content.replace("\n", "\n\n") "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: if response['errno'] == 0:
print('推送成功!') print('推送成功!')
else: else: