getFlix
My getFlix is out of date! Maarten van Egmond has a revamped version.
Many people have hundreds or thousands of movies they have rated on Netflix, but the web site does not provide any simple way of downloading them for your own use. getFlix is a package of scripts that allow you to download and process your Netflix ratings.
Preparation
You need the following:
- Perl v5 (higher should work, don’t know about lower). Get perl at perl.org.
- Python v2.3 (again, higher yes, lower don’t know). Get python at their web site.
- For Perl, install modules WWW::Mechanize, Crypt::SSLeay and Data::Dumper. Help installing perl modules. Mac OS X, most Linux distributions and BSD variants come pre-installed with both perl and python.
- For Python, install module ‘mechanize’. Help installing mechanize.
- Find out your path to Perl (type ‘whereis perl’ at command line) and your path to Python (‘whereis python’). Also, you will need your Netflix user name (email address) and password.
- And finally, the actual scripts: Download v0.1 of getFlix.
Net::Netflix
I was originally looking for someone else who had written a script to do this and had found Net::Netflix by a guy named John Resig. Very cool script- it went to the Netflix web site with your username/password and fetched your ratings. The problem was that it only got the film title and the rating. Nothing else. Great, but no cigar.
The Scripts
So I had to write everything else myself. Here is what I have:
- getflix.pl – A script that calls the main perl module (included, next) called Netflix.pm
- Netflix.pm – The heart of my effort here is this module, partially borrowed from John Resig’s script but modified to get the following:
- The film’s Netflix ID
- Film title
- Film Year
- Film MPAA Rating
- Film Genre
- Your Film Rating
- Now for all the accessories, starting with nflixHisto.py which is a very nifty script that takes all the data in nflicks.txt and generates distribution for the data. For example, the average rating for a particular year or decade. Or for a particular MPAA rating or genre. Great stuff!
- getdirectors.py: This script will get the name of the directors for each of the film you have rated (from Netflix.com) and tabulate them with their rating in a file called directors.txt.
- dirHisto.py: This script will generate meaningful data about directors that you have rated highly; i.e. average rating for a particular director. This will live in directors2.txt.
- getstars.py: This script will fetch the stars (actors and actresses) for each film you have rated and again, tabulate them (similar to the directors). No histogram script exists yet to make sense of this data.
What kind of information will I get out of it?
For a brief overview, you can read my own discoveries at WideScreenGlory.com but suffice to say, you can get all the information it is possible to fetch from Netflix.com regarding each of the film you have rated. That is,
- Director
- Actors/Actresses
- Year
- Genre
- MPAA Rating
And also, a lot of analysis of the information, such as averages for years, decades, ratings and a lot more. And if you find something that is more meaningful, go ahead and add it or suggest it in the comments below.

Where would you like us to submit patches against this code?
Thanks.
Adrian
1 Dec 08 at 5:47 pm
Ok, I posted my patches here:
http://aporter.org/getflix/
Adrian
16 Nov 09 at 8:31 pm
[...] been a Netflix member for close to 8 years and religiously rate everything I watch. Now thanks to a script I wrote (and has been improved since by others), I can pull the data out of Netflix and analyze. For [...]
Things of Which I May Not Speak » Blog Archive » End of Decade Lists
24 Nov 09 at 3:36 pm
I need to know some ways to change the viscosity of a liquid. I already have temperature, which is an obvious one. There are no sites that help me and I need more then one way. Please help!
(grade 8 science)
harish
20 Oct 11 at 7:42 am
I’m writing an essay on how literature and science affect the understanding of humanity and society. I’ve got the literature part down pretty well, but I am absolutely stuck on the science part. I have to choose either between natural sciences or human sciences and relate it to reason, but I don’t have any specific examples. Can you give me a few?
harish
20 Oct 11 at 7:47 am
whoah this weblog is fantastic i love studying your articles. Stay up the great paintings! You know, lots of persons are hunting around for this information, you can help them greatly.
PHP Scripts
28 Oct 11 at 9:57 am
wonderful put up, very informative. I’m wondering why the other experts of this sector don’t notice this. You must continue your writing. I am confident, you have a huge readers’ base already!
Kazuc is a resource for PHP clone scripts, only at 19.95$
29 Dec 11 at 8:17 am
of course like your web-site but you have to take a look at the spelling on several of your posts. Many of them are rife with spelling issues and I to find it very bothersome to tell the reality then again I?ll certainly come again again.
en ucuz sms
31 Dec 11 at 7:34 pm