-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Regular login for "Cornelsen" does not work, so I went ahead with the token, token_id workaround which worked.
I then went ahead to download my first book with the new method. I currently have 2 different books in my Cornelsen library. It worked without a problem.
When I tried to download the other book, both methods always fail.
"New Method" fails with:
Decrypting PDFs and adding metadata
Decrypted Context - Allgemeine Ausgabe 2022 Oberstufe_lossless_sf.pdf
Decrypted Context - Allgemeine Ausgabe 2022 Oberstufe_lossless_lf.pdf
Could not get zip - 7n1
Error: `index` must be at least 0 and at most 363, but was actually 369
at exports.assertRange (C:\Users\Philipp\Downloads\EbookDownloader-master\node_modules\pdf-lib\cjs\utils\validators.js:157:15)
at PDFDocument.getPage (C:\Users\Philipp\Downloads\EbookDownloader-master\node_modules\pdf-lib\cjs\api\PDFDocument.js:492:17)
at addOutlineChapter (C:\Users\Philipp\Downloads\EbookDownloader-master\src\downloader\cornelsen.js:181:62)
at C:\Users\Philipp\Downloads\EbookDownloader-master\src\downloader\cornelsen.js:217:97
at Array.map (<anonymous>)
at addOutlineChapter (C:\Users\Philipp\Downloads\EbookDownloader-master\src\downloader\cornelsen.js:217:86)
at C:\Users\Philipp\Downloads\EbookDownloader-master\src\downloader\cornelsen.js:232:55
"Old Method" fails with:
Loading possible qualities
Could not load book - 757
TypeError: Cannot read properties of undefined (reading '1')
at C:\Users\Philipp\Downloads\EbookDownloader-master\src\downloader\cornelsen.js:270:152
at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
I could not find any fix for this and the error, especially the "New Method" one, is only present on that one specific book.
Metadata
Metadata
Assignees
Labels
No labels