https://github.com/bronzdoc/packtgrab
:books: Grab a book a day for free, from https://www.packtpub.com/packt/offers/free-learning
https://github.com/bronzdoc/packtgrab
Last synced: 9 months ago
JSON representation
:books: Grab a book a day for free, from https://www.packtpub.com/packt/offers/free-learning
- Host: GitHub
- URL: https://github.com/bronzdoc/packtgrab
- Owner: bronzdoc
- Created: 2016-02-28T04:16:30.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-28T05:36:46.000Z (over 10 years ago)
- Last Synced: 2025-09-11T15:57:22.589Z (10 months ago)
- Language: Ruby
- Size: 1.95 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# packtgrab
Grab a book a day for free from Packt Pub, https://www.packtpub.com/packt/offers/free-learning.
Set yout credentials in the packt_auth.yaml file
```
---
PACKT_EMAIL: your www.packtpub.com email
PACKT_PASSWORD: your www.packtpub.com password
```
Add it as a cron
crontab -e
Within the open cron editor(assuming you clone it at $HOME)
0 14 * * * {your ruby path}/ruby {you packtgrab.rb path}/packtgrab.rb
or you could use it whatever you like... be creative
#### now go to https://www.packtpub.com and create an account they are awesome!
---
######This little program was inspired by https://github.com/draconar/grab_packt