Skip to content

Instantly share code, notes, and snippets.

@irisli
Created February 12, 2015 21:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save irisli/87d3b964d51648ce0763 to your computer and use it in GitHub Desktop.
Save irisli/87d3b964d51648ce0763 to your computer and use it in GitHub Desktop.
Bundlr link scraper
// I originally hacked together this script to scrape links from this bundlr page: http://bundlr.com/b/stellar-press
(function(){
result = "";
$("#bundle-clips-list > li").each(function(k,v) {
title = $(v).find(".clip-title").text().trim();
url = $(v).attr('data-clip-url');
result += '<p><a href="' + url + '">' + title + '</a></p>\n';
});
return result;
})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment