GladistonXD / perlego-download

Google chrome extension
40 stars 10 forks source link

Epub Download #18

Closed MikeCoreTV closed 1 month ago

MikeCoreTV commented 1 month ago

any way to download the epub with each labeled page in Perlego being present and separated by page in the HTML?

it seems to just entire chapters blocked together, which when it comes to citation makes it very hard to use.

GladistonXD commented 1 month ago

It is possible to edit the .html file and separate it by page, but the Epub model is not like the separate PDF, it is a direct file separated by indexes, the most you can do is edit the font size to make it similar to the pagination quality, I can create a script in python to convert the images to base64 so they are saved forever in the .html file but depending on where you use it it is not as viable as a .pdf

MikeCoreTV commented 1 month ago

Yeah, I was just hoping to fit whatever the epub considers a page to be put into a single image each so I can cite it and re-index it myself in pdfxchange because the elongated masses of chapters in a textbook aren't viable for me. Would the script you mentioned be a decent solution to that?

GladistonXD commented 1 month ago

The script mentioned would only be to keep the .html file permanently without expiring the images, I don't know if it would solve your problem.

MikeCoreTV commented 1 month ago

Ah, no it wouldn't. Thank you for the replies though! I'll just have to figure something out. This tool was a life saver non-the-less!

GladistonXD commented 1 month ago

I made a script to convert .html EPUB to PDF with bookmarks maybe it will help https://github.com/GladistonXD/html2pdfconverter