Skip to content

Instantly share code, notes, and snippets.

@bih
Created April 11, 2014 20:41
Show Gist options
  • Save bih/10499885 to your computer and use it in GitHub Desktop.
Save bih/10499885 to your computer and use it in GitHub Desktop.
Find out the largest ranked nominees for The Summit Kilimanjaro Climb
// Quickly analyse the results from The Summit's Kilimanjro Climb. Thought it'd be nice to share after using it myself.
// Works on: http://thesummit.co/kilimanjaro/nominees-alpha
// Works on: http://thesummit.co/kilimanjaro/nominees-individual
var v,n,s={}; $('ul.video-grid li').each(function(){ n=$(this).find('.video-grid-details h5').text(); v=parseInt($(this).find('.video-grid-details p em').text()) || 0; s[n] = v; }); s;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment