Recommended Movies You Can Stream on Netflix

Here are all the movies I rated either four or five stars on Netflix that are available to stream as of 8/21/2015. Some of these ratings are really old and I’m not sure they’d stand up to a rewatch. Even glancing at it now, some seem indefensible. YMMV!

I compile this list from the Netflix Watch It Again page. The code I use follows this list, if you’re into that kind of thing.

I run this code in Firebug to generate the Markdown that Hugo then converts to the HTML you see above. Note that you have to scroll all the way down the Watch It Again page so that all the titles are loaded before running this script.

var movies = [];
var result = '';

function titleSort(a, b){
   var aTitle = a.title.replace(/^(a|an|the) +/gi, ''); 
   var bTitle = b.title.replace(/^(a|an|the) +/gi, ''); 
   return ((aTitle < bTitle) ? -1 : ((aTitle > bTitle) ? 1 : 0));
}

jQuery(".mdpLink").each(function(index) {
   var title = jQuery(this).text().trim();
   var tv = title.toLowerCase().indexOf("episodes)");
   if (tv <= 0) {
      movies.push({
         title: title,
         href: jQuery(this).attr('href').replace(/\?trkid=[0-9]+/gi, ''),
         loved: jQuery(this).closest("td").siblings(".cell-starbar").find("span .sbmf-50").length
      });
   }
});

movies.sort(titleSort);

jQuery.each(movies, function (i, movie) {
   var title = movie.title;
   if (movie.loved) {
      title = '**' + title + '**';
   }
   result = result + ' - [' + title + '](' + movie.href + ')' + '\n';
});

console.log(result);