Skip to content

Instantly share code, notes, and snippets.

@cdolek
Last active August 29, 2015 14:14
Show Gist options
  • Save cdolek/89e24d71ce1a63c16e2d to your computer and use it in GitHub Desktop.
Save cdolek/89e24d71ce1a63c16e2d to your computer and use it in GitHub Desktop.
collecting vimeo video titles and links from vimeo.com // works on console
// paste
var jq = document.createElement('script');
jq.src = "https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js";
document.getElementsByTagName('head')[0].appendChild(jq);
// wait and paste
jQuery.noConflict();
// each paste will print the list on console, copy and paste + remove unnecessary lines
var a = jQuery('#browse_content li a');
for (var i = 0; i < a.length; i++) {
console.log(jQuery(a[i]).attr('title'));
console.log('http://vimeo.com' + jQuery(a[i]).attr('href'));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment