# xdu检查签到脚本 **Repository Path**: voidwx/xdu ## Basic Information - **Project Name**: xdu检查签到脚本 - **Description**: 对xdu疫情通晨午检机制的研究 - **Primary Language**: Python - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-10-25 - **Last Updated**: 2021-10-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 脚本 > 我只会用这种方式,勿喷 `all_chen_wu_jian`:晨午检脚本 `all_yi_qing_tong`:疫情通脚本 ## 脚本使用 ### 晨午检 在`all_chen_wu_jian.py`文件中,根据有需要更改`submitData`中的`address`、`area`、`city`、`geo_api_info`和`province`信息,此部分信息可通过浏览器开发者模式,断网提交抓取。可参考[阿里云运行疫情通脚本 | Hexo (voidwx.github.io)](https://voidwx.github.io/archives/1f4d6f50.html)。 使用:将`line 77`中的相关信息更改为自己的信息即可 ```python user.append(["学号","教务系统密码","姓名"]) ``` ### 疫情通 在`all_yi_qing_tong.py`文件中,提交地点是自己家,需要填充`submitData`中的`address`、`area`、`city`、`geo_api_info`和`province`信息,此部分信息可通过浏览器开发者模式,断网提交抓取。可参考[阿里云运行疫情通脚本 | Hexo (voidwx.github.io)](https://voidwx.github.io/archives/1f4d6f50.html)。 使用参考该文件的`main`函数 ### 通知 将签到结果推送到微信上,使用[微信推送 | Server酱 (ftqq.com)](http://sc.ftqq.com/?c=wechat&a=bind) ### 定时执行文件 使用`crontab`定时执行,使用方法参考[阿里云运行疫情通脚本 | Hexo (voidwx.github.io)](https://voidwx.github.io/archives/1f4d6f50.html) 记得更改对应py文件和.sh文件中的路径和权限