Skip to content

michaelbeutler/edubase-to-pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image

Edubase Reader to PDF

Recently, I had to buy some books for school and the books were available as e-books. Unfortunately, the e-books are only accessible with the Edubase Reader. This motivated me to write an app that converts the Edubase SVG solution into a searchable PDF.

I wrote this script in the evening, and it was not meant to be on GitHub, but after I finished, I decided to upload it anyway. So, the instructions and the code are loose. Maybe I will rewrite the whole script at some point, but not today.

Usage

If you got some questions. Please have no hesitation to create an issue and linking me.

  1. Login to your account and open the book you want to convert.
  2. Navigate to the first page.
  3. Open the development menu, so you can access the console. (F12 on Windows)
  4. Set the variable maxPages to the maximum number of pages your desired book has.
  5. Paste the whole code into the console.
  6. The script should start downloading numerous files, so maybe you have to grant special permissions (Tested on Google Chrome).
  7. Install the dependencies with yarn.
  8. Set the variable numberOfPages inside index.js to the maximum number of pages your desired book has.
  9. Set the property url inside index.js to the path your downloaded HTML files are available, and include the page variable.
    Page.navigate({
      url: `file:///C:/Users/iamcool/Downloads/pages/page-${page}.html`,
    });
  10. Run the script with $ node . and wait for the script to finish.
  11. When everything is done, each page should be in a separate file inside your pages directory.
  12. Combine the files with any program you like. (I used Adobe Acrobat Reader.)
  13. Let the app scan the PDF and detect texts. (I used Adobe Acrobat Reader.)

PS: The image was made with MS Paint.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published