我看切换到下一集时候,需要单独访问一次:https://www.hebgb.gov.cn/portal/study\_play.do?id=334365144这个网页id=后面需要根据不同课程使用不同的id。
Request URL
https://www.hebgb.gov.cn/portal/study\_play.do?id=334365144Request Method
GETStatus Code
200 OKRemote Address
111.62.27.14:443Referrer Policy
strict-origin-when-cross-origin
cookie也是用前台保存的cookie
id=334365144就可以了,你看再切换下一集时候,先访问一下这个就能实现自动看课功能了。
你在获取课程列表时候,https://www.hebgb.gov.cn/student/class_detail_course.do?cid=17419&elective_type=1&menu=myclass&tab_index=0
在这里获取到,比如获取的课程获取到学了50%,总时长获取的是3分钟,那么你得从60秒开始发包才对,现在发包时间不对就导致刷不上课