fuergaosi233 / gitbook2pdf

Grab the contents of the gitbook document and convert it to pdf
1.04k stars 175 forks source link

gitbook2pdf stopped working #97

Open mrdc opened 3 years ago

mrdc commented 3 years ago

Hi,

Unfortunately, gitbook2pdf stopped working: it can't save, for example, https://kubernetes.feisky.xyz which is shown in documentation.

output:

python3 gitbook.py http://kubernetes.feisky.xyz/
crawl : all done!
Generating pdf,please wait patiently
Fontconfig warning: ignoring UTF-8: not a valid region tag
Generated

It produces 序言-Kubernetes指南.html which is 342 bytes:

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">      
<meta name=generator content=gitbook2pdf><meta name=title content=序言-Kubernetes指南><meta name=author content=kubernetes.feisky.xyz><meta name=dcterms.created content=2021-08-24T15:26:37><meta name=dcterms.modified content=2021-08-24T15:26:37><body>
</body>
</html>

and 序言-Kubernetes指南.pdf which is 930 bytes

slingjuns commented 2 years ago

Same issue