mirror of
https://github.com/JasonYANG170/AutoCheckBJMF.git
synced 2024-10-19 14:01:46 +00:00
73 lines
2.9 KiB
Markdown
73 lines
2.9 KiB
Markdown
<div align="center">
|
||
<h1>AutoCheckBJMF 班级魔方自动签到</h1>
|
||
<img src="https://img.shields.io/github/license/JasonYANG170/AutoCheckBJMF?label=License&style=for-the-badge">
|
||
<img src="https://img.shields.io/github/commit-activity/w/JasonYANG170/AutoCheckBJMF?style=for-the-badge">
|
||
<img src="https://img.shields.io/github/languages/count/JasonYANG170/AutoCheckBJMF?logo=python&style=for-the-badge">
|
||
<br>
|
||
<a href="https://discord.com/invite/az3ceRmgVe"><img alt="Discord" src="https://img.shields.io/discord/978108215499816980?style=social&logo=discord&label=echosec"></a>
|
||
<br>
|
||
|
||
这是一项基于Python语言的班级魔方GPS自动签到Script
|
||
|
||
<br>
|
||
|
||
</div>
|
||
|
||
## 支持的签到模式
|
||
- ✅ 二维码签到(验证通过)
|
||
- ✅ GPS签到 (验证通过)
|
||
- 🚧 密码签到
|
||
|
||
## 功能
|
||
- ✅ 定时检测GPS签到任务
|
||
- ✅ 24小时无人值守
|
||
- ✅ 通过自定义经纬度完成定位签到
|
||
- ✅ 定时开启
|
||
- ✅ 导入json配置文件
|
||
|
||
如遇问题,请向我提出issues
|
||
## 使用教程
|
||
#### 普通用户
|
||
1.在releases下载AutoCheckBJMF.zip后解压运行AutoCheckBJMF.exe即可
|
||
#### 自动化用户
|
||
1.下载源码,按需求修改注释
|
||
## 如何获取Cookie、班级ID、GPS坐标
|
||
#### 获取GPS坐标
|
||
使用腾讯坐标拾取API:
|
||
https://lbs.qq.com/getPoint/
|
||
#### 获取Cookie、班级ID
|
||
需要使用抓包软件(Fiddler,HttpCanary,抓包精灵)从微信抓取Cookie
|
||
使用Fiddler抓取演示:
|
||
1.打开Fiddler
|
||
2.从微信进入图中1的签到界面
|
||
3.从Fiddler找到图中2的链接,双击进入
|
||
4.点击图中3的数据
|
||
5.图中4的Cookie:后的部分就是你的Cookie
|
||
6.图中5的数字就是你的班级ID
|
||
![Screenshot 2024-03-28 024226](https://github.com/JasonYANG170/AutoCheckBJMF/assets/39414350/6453fc70-f8a9-4336-8778-21a642424732)
|
||
|
||
|
||
|
||
## 配置data.json信息(可选)
|
||
1.打开解压后的data.json
|
||
2.填写以下变量
|
||
|
||
- 默认值123,使用默认值时会要求在程序中填写
|
||
- class(填写班级ID,教程中有)
|
||
- lat(填写纬度)
|
||
- lng(填写经度)
|
||
- acc(未知参数,可能是海拔)
|
||
- time(检索间隔,建议>=60s)
|
||
- pushplus(填写PUSHPLUS的Token,不使用请默认)
|
||
|
||
## 提醒
|
||
#### 1.如果你**退出登录**或者**重新登录微信**,Cookie是会变更的,是**需要重新抓包获取新的Cookie**,除非你电脑不关机,或者关机后微信不登录,Cookie才不会变,其实更**建议你们从手机抓包软件抓取微信Cookie**,因为手机微信一般不会退出,所以Cookie不容易失效,但是电脑抓简单一点
|
||
#### 2.使用浏览器获取的Cookie不稳定会失效,建议用户从微信抓取Cookie。
|
||
#### 3.使用电脑抓取的Cookie会在微信关闭时变更,再次使用请重新抓取。
|
||
#### 4.班级魔方屏蔽了海外IP,请使用中国IP的设备运行,否则会出现连接超时。
|
||
|
||
|
||
|
||
|
||
|