# AutoSubmitTemperture **Repository Path**: yongees/auto-submit-temperture ## Basic Information - **Project Name**: AutoSubmitTemperture - **Description**: (免服务器费用)云函数实现某高校自动上报体温python代码 - **Primary Language**: Python - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2020-09-24 - **Last Updated**: 2022-01-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # AutoSubmitTemperture #### 介绍 (免服务器费用)云函数实现天津农学院自动上报体温python代码+Qsmg酱QQ提醒 #### 软件架构 1.抓包 pc可以用fidder 安卓可用 httpcancry 软件就不上传啦 2.腾讯云函数 https://cloud.tencent.com/product/scf/ #### 使用教程 1. 打开 https://gitee.com/yongees/auto-submit-temperture/blob/master/code.py 复制其中的代码。 2. 由于我们的温度提交系统不用登陆每个人的账号密码是不知道的,XToken和userid只能通过抓包获得,仅需抓到显示温度信息的页面的post请求就能找到我们所需的XToken和userid值 将Token值替换到代码中 XPS-UserToken和XPS-Token 的后面,将XPS-UserId的值替换到代码中。 3. (选)如果需要提醒 可自行去 Qsmg酱申请账号获得推送接口地址 如:https://qmsg.zendee.cn:443/send/xxxxxxxxxxxxxxxxx 并按照Qsmg的要求绑定好自己qq ,将自己的接口地址https://qmsg.zendee.cn:443/send/xxxxxxxxxxxxxxxxx 替换到代码 s = requests.post('https://qmsg.zendee.cn:443/send/e330f0.......df5c9aff',params=data2)中即可推送提交温度的提醒。 4. 在云函数中新建3个python3.6函数模板 将自己的早中晚代码粘贴上去提交,然后设置触发周期 Cron表达式 早上0 30 11 * * * * 、中午:0 30 11 * * * * 、晚上0 30 11 * * * * 万事大吉!