Code for the twitter bot nyt_diff & lesoir_diff
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 8 commits ahead, 5 commits behind j-e-d:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
css
fonts
img
output
README.md
nytdiff.py
requirements.txt
run_diff.sh

README.md

NYTdiff+

Based on @j-e-d's code for the twitter bot @nyt_diff.
RSS feed fetching added for @xuv's twitter bot @lesoir_diff

Twitter keys are needed.
NYT API key for the "Top Stories V2" are needed for The New York Times.
An RSS Url is needed for Le Soir or any other news website.

Installation

  • The phantomjs binary needs to be installed and the path updated in the run_diff.sh file.
  • pip install -r requirements.txt

Credits