A periodical task that tweets headlines from rotter.net
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
rotter
.gitignore
Procfile
README.md
requirements.txt
runtime.txt

README.md

Rotter Tweets

A simple application that mines rotter.net periodically and tweets the breaking news headlines.

Follow @RotterNews

Excuse the crude implementation and hacks, it just fucking works.

Dev

Testing

$ python -m unittest

Reuse

This script is built specifically to mine a single page and tweet headlines from it, but it can easily be adapted to run on arbitrary pages. The things you need to know:

  • Deploy on Heroku
  • Make sure a dev plan Postgres database is attached and promoted
  • Make sure a Redis To Go dev plan is enabled
  • All OS environment variables should be configured (see code for specifics)

Contact me at @yuvadm if you need any help.

Issues and pull requests happily accepted.