Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (var i=0;i<=395516/30+1;i++) setTimeout(function(i){
- // http://1x.com/backend/loadmore.php?app=photos&from=60&cat=all&sort=latest&userid=0 | latest popular-ever
- var r=new XMLHttpRequest();
- r.open("GET","http://1x.com/backend/loadmore.php?app=photos&from="+(i*30)+"&cat=all&sort=latest&userid=0",true);
- r.onload=function(){
- var a=this.response.match(/\w+(?=-ld.jpg)/gim)||[];
- a=a.map(function(v){return "http://1x.com/images/user/"+v+"-hd2.jpg"; });
- console.log(a.join("\n"));
- post_imgur(a,function(){console.log(this.toString());});
- }
- r.send();
- },i*250,i);
- function post_imgur(a,callback) {
- var r=new XMLHttpRequest();
- r.open("POST","http://176.34.162.148/jabry/imgur1.asp?u=&b=&x=",true);
- r.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
- r.onreadystatechange=function(){if (this.readyState==4 && this.status==200) callback.call(this.responseText); }
- r.send("u=" + a.join(","));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement