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

生成PDF文件出现的问题 #13

Open
cuichacha opened this issue Jan 17, 2021 · 1 comment
Open

生成PDF文件出现的问题 #13

cuichacha opened this issue Jan 17, 2021 · 1 comment

Comments

@cuichacha
Copy link

首先感谢大佬写的程序,非常好用。

然后就是如果抓取的数据,比较多的情况下,无法生成PDF。数据量小的情况下没有问题。

看了一下,资源应该是抓取到了,可能是生成PDF的时候出了问题。以为是pdfkit的问题,去搜了一下,也没找到原因。如果大佬有空的话,麻烦看一下为什么会这样。主要是想知道原因,但是我对python 不熟,不太会分析debug,也没有IDE。

环境如图。
Screen Shot 2021-01-17 at 13 54 18
Screen Shot 2021-01-17 at 13 54 29

@DanceGhost
Copy link

图片和html都下载下来了,精华书生成没问题(200个html),全部就出现下面问题[WinError 206] 文件名或扩展名太长(3000个html)。电子书生成失败!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants