mirror of
https://github.com/dataabc/weibo-crawler.git
synced 2026-10-18 06:20:32 +08:00
12 lines
266 B
Python
12 lines
266 B
Python
import requests
|
|
import const
|
|
|
|
|
|
def push_deer(append_str):
|
|
params = {
|
|
'pushkey': const.NOTIFY['PUSH_KEY'],
|
|
'text': append_str,
|
|
}
|
|
# 使用HTTPS请求发送通知
|
|
requests.get(url="https://api2.pushdeer.com/message/push", params=params)
|