Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

下载课程时提示异常 #219

Open
Mydykitty opened this issue Oct 18, 2024 · 7 comments
Open

下载课程时提示异常 #219

Mydykitty opened this issue Oct 18, 2024 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@Mydykitty
Copy link

使用geektime-downloader --gcid "XX" --gcess "XX"命令下载报错:

2024/10/18 15:13:12 ERROR: could not unmarshal event: parse error: expected string near offset 962 of 'cookiePart...'

能否辛苦帮忙看看

@nicoxiang
Copy link
Owner

是下载PDF的时候抛出的错误是吗

Repository owner deleted a comment from Mydykitty Oct 25, 2024
@nicoxiang
Copy link
Owner

@Mydykitty 小心不要暴露自己的cookie,问题我看到了,但是这个log的报错应该不影响正常使用的,我回去试试,你把软件的版本号发下

@Mydykitty
Copy link
Author

github.com/nicoxiang/[email protected] 现在用的是最新的版本

@nicoxiang
Copy link
Owner

@Mydykitty
这个报错不影响正常使用的,你可以去文件夹里看看,应该PDF已经生成成功了,后面我升级下一个依赖就可以把报错去掉。

2024/10/18 15:13:12 ERROR: could not unmarshal event: parse error: expected string near offset 962 of 'cookiePart...'

@nicoxiang
Copy link
Owner

是不是还有其他的错误?也可以贴下,小心不要暴露自己的cookie。

@Mydykitty
Copy link
Author

@Mydykitty 这个报错不影响正常使用的,你可以去文件夹里看看,应该PDF已经生成成功了,后面我升级下一个依赖就可以把报错去掉。

2024/10/18 15:13:12 ERROR: could not unmarshal event: parse error: expected string near offset 962 of 'cookiePart...'

这个PDF确实生成成功了,不过有的PDF打开为空 3-4个PDF中有一个为空,不过这是之前产生的问题,不能再复现了。

现在产生的问题是直接报错,无法进行任何下载,错误截图如下(第一张截图输入了课程ID后产生了第二张截图的错误):
image
image

@nicoxiang nicoxiang added the bug Something isn't working label Oct 27, 2024
@nicoxiang
Copy link
Owner

@Mydykitty 试试最新的0.11.2版本,应该都消除掉上面的报错,有的PDF打开为空的问题可以试试单个文章重新下载,如果还是不行,试试调大--print-pdf-wait参数

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants