packtpub-crawler icon indicating copy to clipboard operation
packtpub-crawler copied to clipboard

Download all subscribed ebook

Open niqdev opened this issue 8 years ago • 7 comments

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

niqdev avatar Nov 27 '16 16:11 niqdev

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 ?

Mehran avatar Nov 28 '16 15:11 Mehran

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

niqdev avatar Nov 28 '16 21:11 niqdev

Any news on this?

frederikkunze avatar Mar 16 '17 13:03 frederikkunze

@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 avatar Mar 16 '17 17:03 feeeper

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

niqdev avatar Mar 16 '17 20:03 niqdev

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.

juzim avatar Mar 16 '17 21:03 juzim

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

tuxskar avatar Apr 24 '17 23:04 tuxskar