liuyunfz / chaoxing_tool

超星网课助手,拥有 一键完成超星中的任务点/刷取课程学习次数/下载课程资源 等功能。基于python语言
GNU General Public License v3.0
315 stars 58 forks source link

功能调用错误提示AttributeError: 'str' object has no attribute 'xpath' #102

Closed xiaonian233 closed 1 year ago

xiaonian233 commented 1 year ago

功能调用错误提示AttributeError: 'str' object has no attribute 'xpath' image 无论是源码运行还是可执行文件运行都是这个结果 不知道为什么 Python 64bit 3.10

liuyunfz commented 1 year ago

看起来是读取章节目录出现了错误,能否将该课程目录的源代码贴上来呢,链接应该是以https://mooc2-ans.chaoxing.com/mooc2-ans/mycourse/studentcourse 打头的

xiaonian233 commented 1 year ago

1.txt https://mooc2-ans.chaoxing.com/mooc2-ans/mycourse/studentcourse?courseid=236261491&clazzid=80525693&cpi=158455516&ut=s&t=1693794000 保存在1.txt中了

C315703603 commented 1 year ago

S~_A _F(}WA@XPL KDS~1G4 同上

liuyunfz commented 1 year ago

您好,该问题已在最新的commit中修复,还烦请测试一下

xiaonian233 commented 1 year ago

您好,该问题已在最新的commit中修复,还烦请测试一下

目前看来没有什么问题了,感谢处理

Hentai02 commented 1 year ago

我也出现了这个问题 image

liuyunfz commented 1 year ago

我也出现了这个问题 image

源代码已经更新了,release还需要过段时间才会更新