AZn5ReD / saplearninghub-pdf-downloader

Download eBook from SAP Learning Hub
MIT License
46 stars 37 forks source link

How to use this? #31

Open leokh opened 3 years ago

leokh commented 3 years ago

Hi,

I am new in this area.

How can i use this saplearninghub-pdf-downloader as i wanted to download some sap learning hub ebooks.

Thanks,

leokh

parthysing commented 3 years ago

If you are using Windows, please follow the steps 1) Install Google chrome browser 2) Install Node JS software.. while installing...choose to install Chocolatery 3) Install Visual Studio Code 4) Download this code as Zip file into desktop 5) Unzip the file into a folder 6) Open this folder in Visual Studio code 7) in 'config.json' file, enter the download URL of ebook, username, password and folder for download. Make sure, you have // in file path 8) now Open Terminal from Menu of Visual studio code 9) type command 'npm install' ... without quotes and press Enter 10) type command 'npm run build' and press Enter 11) type command 'npm run start' and press Enter key

See the PDF being there in the download folder you have mentioned in config.json file