{"id":16654165,"url":"https://github.com/letmefly666/rainclassroomvideodownload","last_synced_at":"2025-09-06T06:32:34.737Z","repository":{"id":177812792,"uuid":"660942208","full_name":"LetMeFly666/RainClassroomVideoDownload","owner":"LetMeFly666","description":"下载雨课堂的视频到本地任意倍速观看","archived":false,"fork":false,"pushed_at":"2023-07-01T10:19:08.000Z","size":350,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T10:35:53.809Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LetMeFly666.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-01T09:37:59.000Z","updated_at":"2025-03-22T03:58:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"329fa633-9a11-4848-82a9-be863f522e87","html_url":"https://github.com/LetMeFly666/RainClassroomVideoDownload","commit_stats":null,"previous_names":["letmefly666/rainclassroomvideodownload"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/LetMeFly666/RainClassroomVideoDownload","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LetMeFly666%2FRainClassroomVideoDownload","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LetMeFly666%2FRainClassroomVideoDownload/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LetMeFly666%2FRainClassroomVideoDownload/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LetMeFly666%2FRainClassroomVideoDownload/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LetMeFly666","download_url":"https://codeload.github.com/LetMeFly666/RainClassroomVideoDownload/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LetMeFly666%2FRainClassroomVideoDownload/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273867387,"owners_count":25182423,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-06T02:00:13.247Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T09:48:55.504Z","updated_at":"2025-09-06T06:32:34.425Z","avatar_url":"https://github.com/LetMeFly666.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RainClassroomVideoDownload\n\n+ 项目介绍：下载雨课堂的视频到本地以便任意倍速观看\n+ 项目地址：[Github@LetMeFly666/RainClassroomVideoDownload](https://github.com/LetMeFly666/RainClassroomVideoDownload)\n\n## 起因\n\n+ 雨课堂视频首次播放无法拖动\n+ 点击网页外的其他位置视频会自动暂停\n+ 最多支持2倍速\n\n总之就是很不爽。\n\n本项目的目的不是逃避视频观看（下载到本地观看是不会计入成绩的），而是在本地以任意节奏地观看 更有助于自己的学习。\n\n## 使用方法\n\n**首先更改main.py中的配置**\n\n打开main.py，修改其中的Config字典\n\n```python\nConfig = {\n    'Cookie': 'sessionid=498e8384w849q948q121x884ffe78ett',\n    'CourseId': '16809342',  # cid https://grsbupt.yuketang.cn/pro/lms/84eubUaed9T/16809342/studycontent\n    'Sign': '84eubUaed9T',  # https://grsbupt.yuketang.cn/pro/lms/84eubUaed9T/16809342/studycontent\n    'Domain': 'grsbupt.yuketang.cn',  # https://grsbupt.yuketang.cn/pro/lms/84eubUaed9T/16809342/studycontent\n    'uv_id': '3090',  # 意义暂不明确\n    'SaveDirName': 'LetYuOutput',  # 视频要保存到的文件夹，存在则直接保存，不存在则创建\n}\n```\n\n其中的```Cookie```需要自己获取，```F12 -\u003e 控制台```输入```document.cookie```并回车即可得到。\n\n```CourseId```、```Sign```、```Domain```都可用从当前课程的url中获取。\n\n![coursePage.jpg](source/img/coursePage.jpg)\n\n```uv_id```和```SaveDirName```一般情况下无需更改。\n\n确保自己的Python环境中安装好了requests包，\n\n**之后使用命令 python main.py即可开始下载**\n\n所有视频及字幕（如果有）将会被保存到工作目录的Config.SaveDirName文件夹下。\n\n![keepResult.jpg](source/img/keepResult.jpg)\n\n之后就可用任意倍速、快进等学习自己感兴趣的部分了。\n\n## 播放器推荐\n\n视频播放器有很多，这里推荐一个自动识别字幕且支持倍速的视频播放器：[PotPlayer](https://potplayer.daum.net/)\n\n## TODO\n\n+ [ ] 多线程的支持\n+ [ ] 保存方式的支持（例如以原本的章节目录结构进行保存）\n+ [ ] 会不会有除了courseChapter.sectionLeafList.leafList的第4层\n+ [ ] 多字幕处理（当前有多个字幕的话，只会保存第一个字幕）","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fletmefly666%2Frainclassroomvideodownload","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fletmefly666%2Frainclassroomvideodownload","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fletmefly666%2Frainclassroomvideodownload/lists"}