Out of curiousity, I checked to see if anyone had made anything to pull the daily free book from Packt Pub and there turned out to be a few.
https://github.com/niqdev/packtpub-crawler seems to be the most robust, allowing you to upload to Google Drive once the ebook finishes download. I haven't had a chance to try it out yet, but thought it might be worth putting out there.