FelixFrog / pdfgrabber

Download PDF books from bSmart, Pearson, Oxford, and many more!
GNU Affero General Public License v3.0
99 stars 14 forks source link

snm #105

Open androidexx opened 2 hours ago

androidexx commented 2 hours ago

Some book from snm library display this errore and stop at 99%

Select a book or a comma-separated list of books: 0 Applying toc/labels --------------------------------------- 98% 0:00:01 Traceback (most recent call last):────────┤ File "C:\Users\xxx\Downloads\PDFGrabber_Launcher-main\PDFGrabber_Launcher-main\main.py", line 280, in main()asyeschool │ File "C:\Users\xxx\Downloads\PDFGrabber_Launcher-main\PDFGrabber_Launcher-main\main.py", line 261, in main downloadbook() │ File "C:\Users\xxx\Downloads\PDFGrabber_Launcher-main\PDFGrabber_Launcher-main\main.py", line 182, in downloadbook pdfpath = utils.downloadbook(service, token, bookid, books[bookid], progressfun) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\xxx\Downloads\PDFGrabber_Launcher-main\PDFGrabber_Launcher-main\utils.py", line 53, in downloadbook pdf = service.downloadbook(token, bookid, data, progress) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\xxx\Downloads\PDFGrabber_Launcher-main\PDFGrabber_Launcher-main\services\snm.py", line 207, in downloadbook │ HoepliAcademy+ │ pdf.set_toc(toc)tore - Saggi Digitali │ File "C:\Python312\Lib\site-packages\fitz\utils.py", line 1339, in set_toc raise ValueError("row %i: page number out of range" % i) ValueError: row 47: page number out of range └──────┴──────────────────────────────────┘

androidexx commented 2 hours ago

this too:

Select a book or a comma-separated list of books: 4 Error: can't find the source pdf of the book, resorting to manual rendering Manual rendering not implemented yet, contact the developer! Extracting zip ------------------ --------------------- 45% 0:01:01