{"id":18129121,"url":"https://github.com/cxrunfree/autovisor","last_synced_at":"2025-05-16T03:02:18.158Z","repository":{"id":211670684,"uuid":"729519150","full_name":"CXRunfree/Autovisor","owner":"CXRunfree","description":"2024智慧树刷课脚本 基于Python Playwright的自动化程序 [有免安装版]","archived":false,"fork":false,"pushed_at":"2025-04-03T11:07:22.000Z","size":30464,"stargazers_count":436,"open_issues_count":34,"forks_count":34,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T01:09:24.881Z","etag":null,"topics":["autocomplete","javascript","playwright","python","python3","selenium","zhidao","zhihuishu"],"latest_commit_sha":null,"homepage":"https://github.com/CXRunfree/Autovisor.git","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CXRunfree.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-12-09T13:43:09.000Z","updated_at":"2025-04-11T01:30:09.000Z","dependencies_parsed_at":"2024-01-14T12:05:28.407Z","dependency_job_id":"548c2ac4-0ad6-4744-af77-0cf884049aa9","html_url":"https://github.com/CXRunfree/Autovisor","commit_stats":null,"previous_names":["cxrunfree/autovisor"],"tags_count":29,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CXRunfree%2FAutovisor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CXRunfree%2FAutovisor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CXRunfree%2FAutovisor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CXRunfree%2FAutovisor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CXRunfree","download_url":"https://codeload.github.com/CXRunfree/Autovisor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248501863,"owners_count":21114684,"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","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":["autocomplete","javascript","playwright","python","python3","selenium","zhidao","zhihuishu"],"created_at":"2024-11-01T10:05:56.291Z","updated_at":"2025-04-12T01:09:33.484Z","avatar_url":"https://github.com/CXRunfree.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"##  Autovisor\n\n**Github项目主页：**[CXRunfree/Autovisor](https://github.com/CXRunfree/Autovisor)\n\n------\n#### 2025/4/3 stable-3.16.2 更新\n\n**注意: ** 本次更新调整了`configs.ini` 文件的可选功能, 从旧版本迁移时请先看清楚 !\n\n**近期更新:**\n\n- **新增自动隐藏播放界面功能(可选)**, 当出现人机验证时会自动显示;\n- **新增对 \"翻转课\" 视频的支持 @PencilCore**\n- 修复了播放页部分提示框未成功关闭导致程序卡住的bug;\n- 其他代码层面调整优化, 提高了程序稳定性.\n\n如若此版本存在稳定性bug，请及时提出issue  ~\n\n一定要附上报错信息，特别是`logs/`目录下的日志文件；不论类型, 越详细越好 !\n\n------\n\n#### 一、程序介绍:\n\n**项目简介：**\n\n这是一个可无人监督的自动化程序，基于微软的Playwright框架，由Python和JavaScript编写而成；相对于常见的油猴脚本，本程序可有效防止被网页检测。核心原理是使浏览器模拟用户的点击操作。\n\n**程序功能:**\n- **支持自动登录**\n- **自动通过滑块验证(可选)**\n- **自动播放和切换下一集**\n- **跳过弹窗和弹出的题目**\n- **自动静音、调成指定的倍速**\n- **检测视频是否暂停并续播**\n- **支持刷习惯分**\n- **支持智慧共享课**\n- **支持翻转课**\n- 检测当前学习进度并后台实时更新\n- 根据当前时间自动设置背景颜色(白昼/暗夜)\n- 完成章节时将提示已刷课时长\n- 各种自定义配置\n\n#### 二、使用须知:\n\n1.请确保系统为windows10及以上\n\n2.文件夹内有 **configs.ini文件** (可能没显示 **.ini**后缀名)，请用文本编辑器打开;\n\n3.填写配置文件\n\n- 默认启动Edge(win10及以上自带), 也可指定为Chrome\n- 文件里的 **EXE_PATH项** 用于自定义浏览器路径, 但必须精确到**浏览器可执行文件的位置**;\n\n​    若不填此项, 就会启动位于系统默认位置的浏览器。\n\n​    不知浏览器的安装路径? 请看下方  **四、常见问题** \n\n4.根据文件内的说明填写好配置信息，一定要**保存后**再退出。\n\n**注意: 所有配置项都不加\"引号\"**\n\n\u003cimg src=\"https://i-blog.csdnimg.cn/direct/e3f06598535c4b48bc1e8a52eb2d0ef8.png\"/\u003e\n\n4.运行 **Autovisor.exe**，会自动打开浏览器，进入网课界面后就能自动刷课了 !\n\n(如果未设置 **enableAutoCaptcha=True**, 则需要**手动完成**登录时的滑块验证.)\n\n------\n\n#### 三、发行版下载:\n\nGithub: [Releases · CXRunfree/Autovisor (github.com)](https://github.com/CXRunfree/Autovisor/releases)\n\n网盘备用: [[蓝奏云\\] Autovisor-for-windows](https://wwk.lanzouj.com/b05evsxif) 密码:492l\n\n这是已经打包好的程序, 若需要**源代码**请于Github项目主页下载.\n\n#### 四、常见问题 :\n\n0.为什么解压后没有Autovisor.exe / 运行报错**缺失依赖文件**?\n\n- 可能是被杀毒软件误杀了, 考虑暂时关闭杀毒软件;\n\n1.为什么会出现一个命令行黑框?\n\n- 这是程序运行的后台，你可以查看当前运行的状态;\n\n2.为什么网页一片空白/无法加载课程界面,一段时间后程序就退出了?\n\n- 大概率你在配置文件里填入的**课程链接有误**;\n\n3.为什么运行程序只出现后台却没出现浏览器界面？\n\n- 只要后台未异常退出就不必担心; 如果出错可能是你的浏览器安装路径有问题\n\n4.我想自定义要启动的浏览器, 但是找不到装在哪里? \n\n- 打开你的浏览器, 在地址栏中输入 Chrome://version 回车之后, 如图的\"可执行文件目录\" 就是浏览器安装目录了。\n\n  \n  \n  \u003cimg src=\"https://i-blog.csdnimg.cn/blog_migrate/e8fd696257e0b4623a19d4a9e0448bfd.png\" alt=\"img\"\u003e\n\n5.关于弹题关不掉/程序卡住的问题:\n\n- 因为弹题是时刻有可能发生的, 而弹题检测不是时刻都进行, 所以这个问题不能完全消除;\n- 3.14以上版本使用 异步+协程 进行弹题检测，目前效果非常好，建议更新使用。\n\n6.我已经打赏过了,不希望再弹赞赏码怎么办?\n\n- 感谢您对本项目的支持~ ~  只需要删掉`res/QRcode.jpg`文件就好了 !\n\n------\n\n**已知Bug:**\n\n- 浏览器版本太新可能导致第一次启动失败, **重启程序**才能解决;\n- **长时间挂机**有概率弹出人机验证, 程序检测到后会暂停操作，直到手动验证完成; \n- 浏览器窗口若**最小化**可能导致视频播放进度不增加;\n- 若出现其他异常崩溃，请提交issue并附上报错信息；\n\n**碎碎念:**\n\n觉得体验还不错 ?  请留下你宝贵的Star ⭐, 并分享给更多有需要的人!\n\n或者为项目发电支持一下 ~  (狠狠push才会有动力 ^-^)\n\n\u003cimg src=\"https://i-blog.csdnimg.cn/blog_migrate/0d254d88c1cd0cb0a2fe6c50f8992efb.png\" alt=\"img\" style=\"zoom: 50%;\" /\u003e\n\n**作者的CSDN:** [欢迎关注~](https://blog.csdn.net/Runfreeone)\n\n**声明：本程序只可用于学习和研究计算机原理, 请于24h删除所有存档 ! **\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcxrunfree%2Fautovisor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcxrunfree%2Fautovisor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcxrunfree%2Fautovisor/lists"}