3 Star 25 Fork 2

King超 / 京训钉

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
WTFPL

因人机接口更新为数学算式,本脚本暂时失效,有能力的接入一下打码平台吧。

京训钉自动学习

因为平台只允许单设备登陆,脚本执行期间不要登陆平台,否则会导致学习失败!

环境需求

php+git+composer

使用方式

1.克隆本项目 git clone https://gitee.com/qeq66/bjjnts.git

2.进入项目目录 cd bjjnts

3.安装依赖 composer install

4.编辑 index.php 填写账号密码

$userList = [
    ['username' => '账号1', 'password' => '密码1'],
    ['username' => '账号2', 'password' => '密码2'],
    ['username' => '账号3', 'password' => '密码3'],
];

5.以账号命名的287x287像素的jpg自拍照放入face文件夹

6.运行

php index.php

方法列表

// 登陆
$login = $service->login($username, $password);
// 课程列表
$courseList = $service->getCourseList();
// 章节列表
$unitList = $service->getUnitList(12473, 733);
// 章节详情
$unit = $service->getUnitInfo(12473, 733, 12493);
// 上传学习记录
$res = $service->studies(12473, 733, 12493, 12444, 0);
// 人机验证
$res = $service->smart(12473, 732, 12492);
// 人脸识别
$res = $service->face(12473, 731, 12486);

// 获取全部学习任务
$taskList = $service->getTaskList();
// 执行学习
run($taskList, $service);
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE Version 2, December 2004 Copyright (C) 2004 Sam Hocevar <sam@hocevar.net> Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long as the name is changed. DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. You just DO WHAT THE FUCK YOU WANT TO.

简介

2021京训钉自动刷课时脚本 展开 收起
PHP
WTFPL
取消

发行版 (2)

全部

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/qeq66/bjjnts.git
git@gitee.com:qeq66/bjjnts.git
qeq66
bjjnts
京训钉
master

搜索帮助