Created
March 10, 2016 15:54
-
-
Save andymason/f2d366e982ac9d7b5198 to your computer and use it in GitHub Desktop.
Grab large image SRC URLs using dev tools.
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
var imgs = Array.prototype.map.call(document.images, function(img){ return img.src; }).filter(function(src) { return src && /tumblr_/.test(src); }); | |
var bigImgs = imgs.map(function( img ) { return img.replace(/_\d{3,4}/, '_1280',i); }); | |
copy(bigImgs.join('\n')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment