Last active
August 29, 2015 14:14
-
-
Save cdolek/89e24d71ce1a63c16e2d to your computer and use it in GitHub Desktop.
collecting vimeo video titles and links from vimeo.com // works on console
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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