niqdev/packtpub-crawler

Download all subscribed ebook

niqdev opened this issue ยท 7 comments

An improvement would be to add an argument to download and backup all subscribed ebooks at once

when i login to my account i can Read online ebooks but cant download them , as i see every title have a specific url . example https://www.packtpub.com/mapt/book/Virtualization%20&%20Cloud/9781786466396/2/ch02lvl1sec27/Hardware-accelerated+graphics+for+Horizon+View

i can Print to PDF and save it , but must do it manual for all . Can help to make this process automatically ?

Hi @feeeper, I saw that several months ago you added in the forked repo this feature.
Would you be interested in add this feature to the project?
I'll be happy to merge any pull request

Any news on this?

@niqdev @frederikkunze Sorry for the late answer. I made draft version for that feature and it's not very stable. I can finish this feature in a week or two.

@feeeper that would be great! take your time ๐Ÿ˜Š
please, just verify that it doesn't introduce any regression on other features/integration
thanks

juzim commented

I managed to adapt the script from a HumbleBundle downloader to work with packtpub: https://gist.github.com/juzim/8d0fb06feb5f58d06f07e360f85de7c0

If you don't need a way to download all books regularly but just want to start with a complete collection, this should work just fine. If you need help setting it up, you can find a lot of information in the original gist.

I have tried the gist but seems it is missing the nodes variable, I have added them back and also added some extra functionalities in order to create one folder for each book in your library, downloads the zip files and the preview pictures.

This is the link just in case someone wants to avoid download the books on his own library:
https://gist.github.com/tuxskar/8fa64300ee02693b05f295337fff607c