Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Script to count which episode of Columbo is getting tweeted about most

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 README
Octocat-spinner-32 columbo_episodes.txt
Octocat-spinner-32 most_tweeted_episodes.py
Octocat-spinner-32 sample-results-Jun-26-16:31:53-BST-2011.txt
README
Sadly, Peter Falk died this week.  This means a lot of people are tweeting about Columbo.

This script looks in a local file named columbo_episodes.txt for a newline separated list of Columbo episodes and then uses the Twitter Search API to see how many tweets have been posted for each of them.  Prints out the episode names, newline separated, in order of tweet count plus the count itself, separated by a '|'.

Searches for the episode title in quotes plus the keyword columbo to avoid getting a lot of false positives for the episodes whose names are simply common phrases. E.g '"Dead Weight" columbo'
Something went wrong with that request. Please try again.