Skip to content

dbasch/moviefinder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MovieFinder

Find the top 20 most rated movies on IMDb in the past three days.

Usage

Don't know what to watch? Do this:

  1. create a file called twitter4j.properties with these contents:

    debug=false oauth.consumerKey=your key oauth.consumerSecret=your secret oauth.accessToken=your access token oauth.accessTokenSecret=your access token secret

If you don't have an app with credentials, get them here.

  1. Install Scala Build Tool if you don't have it.

  2. From the command line, run:

    $ sbt run

This will connect to Twitter and fetch thousands of tweets of the form "I rated Some Movie 7/10 [link to the movie] on #IMDB ..." I'm assuming those tweets are a representative sample of all ratings, but who knows. This is a quick hack, not science.

The program will generate a file called movies.html in the current folder. Open it with your browser, pick a movie to watch, or maybe read a book instead.

Output of this program (could be out of date, check the timestamp).

License

Copyright © 2013 Diego Basch

Distributed under the Eclipse Public License

About

Find the most rated movies of the last 72 hours on IMDb

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages