gen-topic - 生成课程 Topic
从极客时间课程 API 数据与讲义 PDF 生成某一周的结构化 topic markdown 文件。
标签
更新于: 2026-09-14能力
典型输入
典型输出
该技能可以做什么
- 获取课程信息
- 生成章节索引文件
- 下载工程实践字幕
- 整理讲义为 markdown
- 校验 topic 文件内容
输入
- scripts/config.json 配置文件
- 极客时间 Cookies (GCESS, GCID, GRID)
- scripts/fetch_article.py 脚本
- 目标周讲义 PDF 文件
输出
- data/class_info.json 文件
- weekN/weekN-index.txt 索引文件
- weekN/manuscripts/*.md 字幕 markdown 文件
- weekN/topic/*.md topic markdown 文件
要求
- scripts/config.json 存在且 Cookies 有效
- 目标周目录下存在讲义 PDF 文件
- scripts/fetch_article.py 可用
