Welcome to your attention 『 I found you far away 』 Blog , Ongoing update
Welcome to your attention 『 I found you far away 』 Blog , Ongoing update
Follow the official account reminded by meow
# @Time : 2022/6/19 15:10
# @Author : Nanli
# @FileName: Meow reminder send wechat reminder .py
import time
import requests
id = ' Your meow size ' #string, Meow code . Specify the reminder to send , A reminder corresponds to a meow code .( Required )
text ='XX Data exception ' #string, Remind additional content . When you receive a reminder , This content will be displayed after the title wraps , The default is empty. .
ts=str(time.time())# Time stamp
print(ts)
type='json' # Return content format
request_url="http://miaotixing.com/trigger?"
# Camouflage a browser to send a request ( A habitual operation of reverse climbing , In fact, it can be used without the disguise of request header )
headers = {
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.67 Safari/537.36 Edg/87.0.664.47'}
result=requests.post(request_url+"id="+id+"&text="+text+"&ts="+ts+"&type="+type,headers=headers)
print(result)
This section is from https://mp.weixin.qq.com/s?__biz=MzIxNjQ1NzU2Mw==&mid=2247484435&idx=1&sn=9bc6a487b040552608150c3b4dce593d&scene=19#wechat_redirect
If you like , Give me one , Pay attention to ! Let's share more ways for computer majors to study !
Copyright notice :
I found you far away @mzh Original works , Reprint must be marked with the original link
Copyright 2022 mzh
Crated:2022-2-1
Welcome to your attention 『 I found you far away 』 Blog , Ongoing update
Welcome to your attention 『 I found you far away 』 Blog , Ongoing update