Skip to content
Get notified about the Free Book of the Day from Packt, with title, book details, a picture, and access link.
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
screenshots
LICENSE
README.md
key.py
packt_tracer.py

README.md

Packt - Tracer

An automation. Packt offers a free ebook on Software Developement and the likes every day. While it's really amazing to have this offer, it is also incredibly painful to check their website every day to see if the book is something that would interest me. Enter Packt-Tracer.

What it does

It scarpes the webpage and extracts the following:

  • Book Title
  • Book Summary
  • Book Image
  • Link for download

The script then sends the above information to a Slack Channel using slackclient

Getting Started

To run the script, please follow the steps:

  • Download the ZIP/ clone the project to your local machine.
  • Install the following module - requests, beautifulsoup4, slackclient.
  • Get the API key for your Slack Worspace here. [Read more about using slackclient for sending notification here]
  • Enter the acquired token into the key.py file.
  • Change the name of the channel in packt-tracer.py as required.
  • Run the script.

You should receive a notifiction on your Slack channel.

Screenshots

1

2

You can’t perform that action at this time.