Electron desktop app that embeds https://www.yuketang.cn/web, detects lesson_id from lesson report URLs, and exports lesson slides as PDF or JPG.
- Embedded Yuketang web app in a
webview. - Auto-detect
lesson_idfrom URLs like:https://www.yuketang.cn/v2/web/student-lesson-report/.../.../...
- Uses browser cookies from the embedded login session.
- Class mode auto-capture: on
https://www.yuketang.cn/lesson/fullscreen/v3/.../ppt/..., the app automatically capturespresentation_idandauthorizationfrom in-app requests and exports. - Configurable output directory (default:
<Downloads>/Yuketang). - Configurable output format (
PDForJPG).
npm install
npm startBuilds are automated via GitHub Actions on push to main.
- Sign in through the embedded Yuketang page.
- For report mode, open a lesson report page; the app auto-fills
lesson_id. - For class mode, open a fullscreen PPT page; the app auto-captures request info.
- Set output directory and format in the top control bar.
- Click
Export.
Based on the original Python automation script by fu-zc23 (THU).
This project is released under the MIT License. © 2026 bit-admin