AZn5ReD / saplearninghub-pdf-downloader-gui

Download eBook from SAP Learning Hub using GUI
MIT License
11 stars 10 forks source link

saplearninghub-pdf-downloader-gui

Download eBook from SAP Learning Hub using GUI

Getting Started

Prerequisites

The path of chrome.exe should be put in Chrome path. These are the default paths depending on your os (they are set by default):

The path of the downloader script (build result of saplearninghub-pdf-downloader) should be put in Downloader path. By default it should be bundled in the archive with the executable file.

Installation

npm install

Usage

Get the eBook URL from the SAP LearningHub and put it on the Ebook link.

The download URL of the eBook URL is on the learning hub:

SAP Learning Hub

Fill the User and Password inputs with your SUSER / SUSER_PASSWORD. Fill the Target folder input with the folder (use absolute path, see known bugs)

Test

You can only test the GUI. The download will only work if you have the build downloader and fill the Downloader path correctly.

npm run debug

Build

To build the node script in the dist folder

npm run build

Then build the webpacked file with @nodegui/packer

npx nodegui-packer --init saplearninghub-pdf-downloader-gui
npx nodegui-packer --pack dist

Build With

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. If you like the project, you can buy me a coffee.

Knwon bugs

Side notes

What I couldn't achieve:

License

MIT