Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 1.02 KB

README.md

File metadata and controls

23 lines (18 loc) · 1.02 KB

Packtpub Free Learning downloader

Packtpub downloader is a script written in PHP that helps you claim your every day free eBook from packtpub.com.

How it works

The script fetches the current free eBook from packtpub.com, it logs you in and claims it. You can find your new eBook in your account's library.

Please note, that you need to have a packtpub account to claim an eBook.

How to use it

  1. Edit packtpub-downloader.php and set your credentials
  2. Run packtpub-downloader.php using the following command:
php -f packtpub-downloader.php

Tip: You can add it to your system cronjobs to automaticaly claim your free eBook every day.

The following example shows how to claim your eBook every day at 9am:

0 9 * * * /usr/bin/php /path/to/files/packtpub-downloader.php >/dev/null 2>&1