Public | Automated Build

Last pushed: 10 days ago
Short Description
Ready to run container with code from: https://github.com/igbt6/Packt-Publishing-Free-Learning
Full Description

Ready to run container with code from: https://github.com/igbt6/Packt-Publishing-Free-Learning

HOWTO

Run it periodically (every day to get daily free books) like this:

docker run --rm \
  -e PPFL_EMAIL=your@mail.com \
  -e PPFL_PASSWORD=YourPassword \
  -e PPFL_DOWNLOAD_FORMATS="pdf, epub, mobi, code" \
  -v /path/in/your/fs/books:/books \
  -ti tgagor/packtpublishingfreelearning

Just replace login, password with your credentials, choose your local path and formats you want (or omit this variable to stick with defaults) and run.

If you want to use the Anticaptcha service, add another environment variable to the docker run:

  -e PPFL_ANTICAPTCHA_DATA=your-key

See https://github.com/igbt6/Packt-Publishing-Free-Learning/blob/master/README.md for more details on setting this up with anti-captcha.com

You might also run it like this to download your whole books collection:

docker run --rm \
  -e PPFL_EMAIL=your@mail.com \
  -e PPFL_PASSWORD=YourPassword \
  -e PPFL_DOWNLOAD_FORMATS="pdf, epub, mobi, code" \
  -v /path/in/your/fs/books:/books \
  -ti tgagor/packtpublishingfreelearning \
  python3 /opt/ppfl/packtPublishingFreeEbook.py -da
Docker Pull Command
Owner
tgagor