Sometimes you feel like a... -
February 22, 2005
Ruby script. Have you ever wondered just how much you're getting out of your Netflix subscription? Wonder if it's actually cheaper than just going over to the video store whenever you feel like it? Now you can know for sure with the Netflix value calculator.
You'll need a few things for it to run:
- Ruby runtime
- Netflix account
- Copy of your netflix rental history (comes as an e-mail)
- The script (Rename to nf.rb, my server is retarded.)
Then:
- Copy all the movie history lines into a text file. Like this: 02/16/05 02/21/05 The Royal Tenenbaums (2001)
02/09/05 02/18/05 America's Atomic Bomb Tests: Vol. 2 (1997)
02/09/05 02/16/05 Mystery Science Theater 3000: Mr. B's Lost Shorts (1993)
...
08/02/04 08/10/04 Matchstick Men (2003)
08/02/04 08/10/04 Plan 9 from Outer Space (1958)
- Run the script on the text file:
nf.rb text_filename
My output:
[ Results ]
# Months Used: 8, # Videos Rented: 49
Plan amount: $17.99
Average # Rentals Per Month: 6.12
Average paid per rental: $2.93
Month with most rentals: 08/04 with: 11
Average paid per rental for 08/04: $1.63
Month with fewest rentals: 10/04 with: 3
Average paid per rental for 10/04: $5.99
Posted by eric at February 22, 2005 11:35 AM
