Open fam4r opened 4 years ago
fam4r, not that I have seen. The code looks to pull your entire list of owned books (descending order fro the date you owned it, so most recent first). Then it loops through all of the books searching to the data type you asked for (-b option: pdf, mobi, etc).
For one book, it is probably easiest to get it from the web site directly (open the book, download options on the right).
It would be nice to have a couple more options like:
--append - where it checks your list of books against the (distinct) book names you have already downloaded and only attempt to download the books you don't have. For example, if you have not downloaded in a week, but you have gone into Packtpub every day and accessed the books to own, then you have 7 books that have not been downloaded. The script would then get the list of books you own, subtract the titles you already have downloaded in your directory, and only attempt to process the 7 new (to you) books.
--refresh (current functionality, default) - goes through ALL of your owned books and downloads only the ones you are missing. This current option still checks out each title, even though you already have it, so it takes time to "skip" through all of the ones you already have downloaded. The --append option above would filter the list, only attempting to process titles you do not have downloaded already, saving lots of time if you have lots of books.
Not sure where to offer suggested enhancements... maybe someone here can offer suggestions.
Hello,
is there a way to download a single book?
Thanks