A simple application that mines rotter.net periodically and tweets the breaking news headlines.
Excuse the crude implementation and hacks, it just fucking works.
$ python -m unittest
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.