dsh-cx-learn
DSH 插件:超星学习通自动看课 —— CDP 驱动真实 Chromium,带设置页 UI,支持扫码登录、断点续播、弹题作答(AI/人工)、章节连播 适合需要自动挂课、断点续播以及自动或人工解答课程弹题的用户。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:forgotfish/dsh-cx-learnドキュメント
README 全文を読む ↗1. 你在 DSH 里已配置的模型
通过 ctx.llm.listProviders() + listModels() 读出你配置过的所有服务商及其模型。
装了 dsh-our-free-model 之类的插件,它们的模型也会一并出现。
配置项
存在 $DSH_HOME/cx-learn/config.json:
| 字段 | 默认值 | 说明 |
|---|---|---|
courseUrl | '' | 课程学习页 URL |
mode | continue_chapters | continue_chapters 连播 / current_chapter 只跑当前章 |
maxSections | 5 | 单轮最多看完多少节 |
videoDoneAt | 98.5% | 判定「看完」的进度阈值 |
browserId | '' | 选中的内核 id(空 = 自动探测) |
chromiumPath | '' | 自定义内核绝对路径(非空时优先) |
headless | true | 是否无头运行 |
quizMode | manual | ai 模型代答 / manual 暂停等人工 |
quizModel | '' | 答题模型 id(见 /models 返回) |