Download eBook from SAP Learning Hub using GUI
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):
C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
/usr/bin/google-chrome
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.
npm install
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:
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)
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
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
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.
What I couldn't achieve: