[Chrome & Edge] Bug 进入播放页面后无法自动跳转到未播放的视频
Opened this issue · 0 comments
问题详述:
进入播放页面后无法自动跳转到未播放的视频,而是重复播放第一个视频,且程序不读取学习进度,如果手动切换视频,在进度完成后不会自动跳转下一个,也一样不会读取学习进度。Edge和Chrome症状一样。
以下是log:
[11:53:23] [INFO] 程序启动中...
[11:53:25] [INFO] 正在启动chrome浏览器...
[11:53:26] chrome浏览器启动完成.
[11:53:26] stealth.js注入完成.
[11:53:26] 窗口大小设置完成.
[11:53:26] [INFO] 正在等待登录完成...
[11:54:33] [WARN] 检测到安全验证,请手动完成验证...
[11:54:40] [INFO] 安全验证已完成.
[11:54:40] [INFO] 正在加载播放页...
[11:55:31] [INFO] 检测到视频暂停,正在尝试播放.
[11:55:31] 视频已恢复播放.
[11:55:38] 浏览器已关闭,安全验证模块已下线.
[11:55:38] [ERROR] TargetClosedError('Page.goto: Target page, context or browser has been closed\nCall log:\nnavigating to "https://studyvideoh5.zhihuishu.com/stuStudy?recruitAndCourseId=4850595b405f4859454a5859584359475b", waiting until "load"\n')
[11:55:38] Traceback (most recent call last):
File "Autovisor.py", line 186, in main
File "playwright\async_api_generated.py", line 8805, in goto
File "playwright_impl_page.py", line 524, in goto
File "playwright_impl_frame.py", line 145, in goto
File "playwright_impl_connection.py", line 59, in send
File "playwright_impl_connection.py", line 514, in wrap_api_call
playwright._impl._errors.TargetClosedError: Page.goto: Target page, context or browser has been closed
Call log:
navigating to "https://studyvideoh5.zhihuishu.com/stuStudy?recruitAndCourseId=4850595b405f4859454a5859584359475b", waiting until "load"
[11:55:38] [ERROR] 浏览器被关闭,程序退出.
[11:55:38] 浏览器已关闭,答题模块已下线.
[11:55:39] 浏览器已关闭,视频播放模块已下线.
[11:55:39] 浏览器已关闭,视频调节模块已下线.