niqdev / packtpub-crawler

Download your daily free Packt Publishing eBook https://www.packtpub.com/packt/offers/free-learning
MIT License
755 stars 178 forks source link

Download all subscribed ebook #23

Open niqdev opened 7 years ago

niqdev commented 7 years ago

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

Mehran commented 7 years ago

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 ?

niqdev commented 7 years ago

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

frederikkunze commented 7 years ago

Any news on this?

feeeper commented 7 years ago

@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.

niqdev commented 7 years ago

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

juzim commented 7 years ago

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.

tuxskar commented 7 years ago

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