Advertisement
rg443

papeldeparedeparapc -> imgur

May 4th, 2013
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. for (var i=1,stack=0;i<=128;i++)setTimeout(get_url,i*100,"http://www.papeldeparedeparapc.com/page/"+i, callback1);
  2.  
  3. function callback1(){
  4.    var a=this.toString().match(/http:\/\/wall.papeldeparedeparapc.com\/\S+\.jpg/gim).map(function(v){return v.replace(/\d+x\d+/,"original")})
  5.    stack++;
  6.    post_imgur(a,function(){console.log(this.toString().split("\n").length-1,--stack)});
  7.    console.log(a.join("\n"));
  8.  
  9.    }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement