AZn5ReD / saplearninghub-pdf-downloader

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

Handbook / Flipbooks not supported #18

Open DZettHaVau opened 3 years ago

DZettHaVau commented 3 years ago

Dear AZn5ReD,

would it be possible to support these kind of handbooks / flipbooks in your downloader: https://saplearninghub.plateau.com/icontent_e/CUSTOM_eu/sap/self-managed/Handbook/BIT603_DE_Col62/files/assets/basic-html/page1.html

Best regards!

AZn5ReD commented 3 years ago

Hi,

It seems like it is already possible to download it in pdf : image

DZettHaVau commented 3 years ago

Very interesting. I am getting a completely differenz view of the same link:

I am using Google Chrome 88.0.4324.104 (32-Bit) with Windows 10. (Firefox 78.7.0esr, Edge, Internet Explorer cannot display the Learning Hub content properly.)

Could you please extract the link behind "Download PDF"? Will it download the whole book or just one page?

AZn5ReD commented 3 years ago

Here is the link to download the PDF : https://saplearninghub.plateau.com/icontent_e/CUSTOM_eu/sap/self-managed/Handbook/BIT603_EN_Col62/files/assets/common/downloads/publication.pdf

To access it, you have to go on the learning hub, search for the course "BIT603", then select the only result (the handbook), then go to course and finally : image

devgen commented 3 years ago

Hi @AZn5ReD , first thank for the tool ! i have the same issue with flipbooks (an timeout exception is raised by using the tool ) and no dowload button.

i ahve tried with HY400 grafik

do you know a workaround to get a pdf generated or is it posible to adapt the tool ?

AZn5ReD commented 3 years ago

Hi,

I've never seen this kind of handbook before. Seems like they are translated so there are 2 layers : the first layer is the image (which has all the charts and images), the second one is the svg which contains the text (which depends on the translation).

So no, the tool won't be working. It could probably be adapted to work with those kinds of handbook, but I'm not sure.

DZettHaVau commented 3 years ago

Hi AZn5ReD, thank you for the English PDF link of BIT603! I wasn't aware that the English version differs substantially from the German one.

Here just some additional findings:

DZettHaVau commented 3 years ago

Obviously, there are several kinds of handbooks. For BIT611 there is maybe an easier to download flipbook, because the mobile version consists of single pictures: https://saplearninghub.plateau.com/icontent_e/CUSTOM_eu/sap/self-managed/Handbook/BIT611_EN_Col62/files/assets/mobile/page0001_i2.jpg https://saplearninghub.plateau.com/icontent_e/CUSTOM_eu/sap/self-managed/Handbook/BIT611_EN_Col62/files/assets/mobile/page0002_i2.jpg etc.

As there is no Flash Player on my PC, anymore, it shows me the 2 alternatives: Mobile version SEO version