mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-30 00:16:07 +08:00
Update notify.py
更换新版Server酱api地址
This commit is contained in:
parent
d672d2d104
commit
2328d05e08
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user