fuergaosi233 / gitbook2pdf

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

I think the file path has some problem and the script don't support authorized gitbook #67

Open bingtangjinju opened 4 years ago

bingtangjinju commented 4 years ago

First of all, I use win10 platform, when I execute the gitbook.py immediately, the script has problem : FileNotFoundError: [Errno 2] No such file or directory: './html5_ua.css' for html5_ua.css,gitbook.css,and output folder. It seems like the absolute path and relative path problem .When I modify gitbook.py line 248 to : fname = "D:/MyWorkspace/python/gitbook2pdf-master/output/" + fname , there is have no problem. Secondly, There is need username and password which gitbook I want to download. but the script can't support it . : (

fuergaosi233 commented 4 years ago

I didn't know gitbook had an authentication feature so I didn't support it.🧐