rg443

*** upload imgur snippets ***

Apr 1st, 2013
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2. good-wallpapers.com
  3. www.goodfon.com
  4. gotowall.com
  5. desktopwallpapers.org.ua
  6. elitefon.ru
  7. www.fonstola.ru
  8. photos.alphacoders.com
  9. www.b7v.net
  10. www.skins.be
  11. inspiringwallpapers.net
  12. www.desktopwallpaperhd.net
  13. www.widewallpapers.net
  14. www.socwall.com
  15. allfons.ru
  16. luxfon.com
  17. */
  18.  
  19.  
  20. /* good-wallpapers.com */
  21. // latest rating
  22. for (var i=1,stack=0;i<=896;i++)setTimeout(get_url,i*50,"http://good-wallpapers.com/latest/?page="+i, callback1);
  23.  
  24. function callback1(){
  25.    var a=this.toString().match(/\/\S+\.(jpe*g|png)/gim).map(function(v){return "http://good-wallpapers.com"+v.replace("small_","")});
  26.    stack++;
  27.    post_imgur(a,function(){console.log(this.toString().split("\n").length-1,--stack)});
  28.    console.log(a.join("\n"));
  29.    }
  30. /* ------------------------------------------------------------------------------------------------------------ */
  31.  
  32. /* www.goodfon.com */
  33. for (var i=1,stack=0;i<=4430;i++)setTimeout(get_url,i*100,"http://www.goodfon.com/index-"+i+".html", callback1);
  34.  
  35. function callback1(){
  36.    var s=this.toString();
  37.    var a1=s.match(/http:\/\/s\d+.goodfon.com\/wallpaper\/previews\/\d+-n.jpg/gim);
  38.    var a2=s.match(/\d+x\d+(?=\r\n)/gim);
  39.    var a=a1.map(function(v,i){return v.replace("-n.jpg","-"+a2[i]+".jpg").replace("wallpaper/previews","image")});
  40.    stack++;
  41.    post_imgur(a,function(){console.log(this.toString().split("\n").length-1,--stack)});
  42.    console.log(a.join("\n"));
  43.    }
  44.  
  45. /* ------------------------------------------------------------------------------------------------------------ */
  46.  
  47.  
  48. /* gotowall.com */
  49. for (var i=1,stack=0;i<=1533;i++)setTimeout(get_url,i*50,"http://gotowall.com/all/page"+i, callback1);
  50.  
  51. function callback1(){
  52.    var a=this.toString().match(/\[gotowall.com\]\S+.jpg/gim).map(function(v){return "http://gotowall.com/wallpapers/"+v});
  53.    stack++;
  54.    post_imgur(a,function(){console.log(this.toString().split("\n").length-1,--stack)});
  55.    console.log(a.join("\n"));
  56.    }
  57. /* ------------------------------------------------------------------------------------------------------------ */
  58.  
  59. /* desktopwallpapers.org.ua */
  60.  
  61. for (var i=1,stack=0;i<=2172;i++)setTimeout(get_url,i*100,"http://desktopwallpapers.org.ua/page/"+i+"/", callback1);
  62.  
  63. function callback1(){
  64.    var a=this.toString().match(/\d+\/\d+\.jpg/gim).join("\n").replace(/(\d+)\/(\d+)/gim,"http://desktopwallpapers.org.ua/images/$1/desktopwallpapers.org.ua_$2").split("\n");a
  65.    stack++;
  66.    post_imgur(a,function(){console.log(this.toString().split("\n").length-1,--stack)});
  67.    console.log(a.join("\n"));
  68.    }
  69. /* ------------------------------------------------------------------------------------------------------------ */
  70.  
  71. /* elitefon.ru */
  72.  
  73. for (var i=1,stack=0;i<=10;i++)setTimeout(get_url,i*100,"http://elitefon.ru/page/"+i+"/", callback1);
  74.  
  75. function callback1(){
  76.    var a=this.toString().match(/\d+\/\d+\.jpg/gim).join("\n").replace(/(\d+)\/(\d+)/gim,"http://elitefon.ru/images/$1/elitefon.ru_$2").split("\n");a
  77.    stack++;
  78.    post_imgur(a,function(){console.log(this.toString().split("\n").length-1,--stack)});
  79.    console.log(a.join("\n"));
  80.    }
  81. /* ------------------------------------------------------------------------------------------------------------ */
  82.  
  83.  
  84. /* www.fonstola.ru */
  85. for (var i=1,stack=0;i<=3501;i++)setTimeout(get_url,i*100,"http://www.fonstola.ru/page/"+i+"/", callback1);
  86.  
  87. function callback1(){
  88.    var a=this.toString().match(/\d+\/\d+\.jpg/gim).join("\n").replace(/(\d+)\/(\d+)/gim,"http://www.fonstola.ru/images/$1/fonstola.ru_$2").split("\n");a
  89.    stack++;
  90.    post_imgur(a,function(){console.log(this.toString().split("\n").length-1,--stack)});
  91.    console.log(a.join("\n"));
  92.    }
  93.  
  94.  
  95.  
  96.  
  97. /* photos.alphacoders.com */
  98. // newest by_views by_favorites
  99. for (var i=0,stack=0;i<=8400;i+=40)setTimeout(get_url,i*20,"http://photos.alphacoders.com/photos/by_views/offset/"+i, callback1);
  100.  
  101. function callback1(){
  102.    var a=this.toString().match(/http:\/\/photofiles.alphacoders\.com\/\S+\.jpg/gim).map(function(v){return v.replace(/\/(thumbbig|thumb)-/,"/")});
  103.    stack++;
  104.    post_imgur(a,function(){console.log(this.toString().split("\n").length-1,--stack)});
  105.    console.log(a.join("\n"));
  106.    }
  107. /* ------------------------------------------------------------------------------------------------------------ */
  108.  
  109.  
  110.  
  111. /* www.b7v.net */
  112. for (var i=1,stack=0;i<=97;i++){stack++;setTimeout(get_url,i*100,"http://www.b7v.net/latest-page"+i+".html", callback1);}
  113.  
  114. function callback1() {
  115.   var a = this.toString().match(/\/\S+\.jpg/gim).map(function(v){return "http://www.b7v.net/uploads"+v });
  116.   console.log(a.join("\n"));
  117.   post_imgur(a, function() {
  118.     console.log("imgur: " + (this.split("\n").length - 1), --stack);
  119.     window.hl = this.toString()
  120.   })
  121. }
  122.  
  123. /* ------------------------------------------------------------------------------------------------------------ */
  124.  
  125. /* www.skins.be */
  126. for (var stack=0,i=1;i<=1820;i++)setTimeout(get_url,i*100,"http://www.skins.be/page/"+i+"/", callback1);
  127.  
  128. function callback1(){
  129.     var a=this.toString().match(/http:\/\/wallpaper.skins.be\/\S+\/\d+\/\d+x\d+\//gim).sort().reverse(),last_tag="";
  130.     a.forEach(function(v,i,a) {
  131.        var tag1=v.match(/\d+/)[0];
  132.        if (tag1==last_tag) {a[i]=null;return}
  133.        var m=v.match(/(http:\/\/wallpaper.skins.be\/)(\S+)\/(\d+)\/(\d+x\d+)\//);
  134.        a[i]="http://wallpapers.skins.be/"+m[2]+"/"+m[2]+"-"+m[4]+"-"+m[3]+".jpg";
  135.        last_tag=tag1;
  136.        });
  137.    var i=a.length-1;while (i){if (!a[i]) a.splice(i,1);i--};
  138.  
  139.    stack++;
  140.    post_imgur(a,function(){console.log(this.toString().split("\n").length-1,--stack)});
  141.    // console.log(a.join("\n"));
  142.    }
  143. /* ------------------------------------------------------------------------------------------------------------ */
  144.  
  145.  
  146.  
  147. /* inspiringwallpapers.net */
  148.  
  149. for (var i=1,stack=0;i<=136;i++)setTimeout(get_url,i*50,"http://inspiringwallpapers.net/most-popular-wallpapers/page/"+i+"/", callback1);
  150.  
  151. function callback1(){
  152.    var a=this.toString().match(/http:\/\/inspiringwallpapers.net\/wp-content\/uploads\/\S+\.(png|jpe*g)/gim).map(function(v){return v.replace(/-\d+x\d+\./,".")});
  153.    stack++;
  154.    post_imgur(a,function(){console.log(this.toString().split("\n").length-1,--stack)});
  155.    console.log(a.join("\n"));
  156.    }
  157.  
  158. /* ------------------------------------------------------------------------------------------------------------ */
  159.  
  160. /* www.desktopwallpaperhd.net */
  161. for (var i=1,stack=0;i<=158;i++)setTimeout(get_url,i*100,"http://www.desktopwallpaperhd.net/animal-hd-wallpapers."+i+".html", callback1);
  162.  
  163. function callback1(){
  164.    var s=this.toString();
  165.    var a=s.match(/\/thumbs\/\S+-\d+.jpg/gim).map(function(v,i){return v.replace("/thumbs/","http://www.desktopwallpaperhd.net/wallpapers/")});
  166.    stack++;
  167.    //post_imgur(a,function(){console.log(this.toString().split("\n").length-1,--stack)});
  168.    console.log(a.join("\n"));
  169.    }
  170.  
  171. /*
  172. abstract
  173. aircraft
  174. animal
  175. anime
  176. bikes
  177. cars
  178. cartoons
  179. celebrities
  180. computer
  181. computer-graphics
  182. fantasy
  183. flowers
  184. games
  185. girls
  186. holidays
  187. insects
  188. kids
  189. landscape
  190. men
  191. military
  192. minimalistic
  193. movie
  194. music
  195. nature
  196. ships
  197. space
  198. sport
  199. underwater
  200. vector
  201. world
  202. */
  203.  
  204. /* ------------------------------------------------------------------------------------------------------------ */
  205.  
  206. /* http://www.widewallpapers.net */
  207. var tag="architecture", i2=10;
  208.  
  209. for (var i=1,stack=0;i<=i2;i++)setTimeout(get_url,i*50,"http://www.widewallpapers.net/index.php?p=static&page=wide-wallpapers-"+tag+"-"+i, callback1);
  210.  
  211. function callback1(){
  212.    var a=this.toString().match(/mod\/\S+1920x1200\S+\.(jpe*g|png)/gim).map(function(v){return "http://www.widewallpapers.net/"+v });
  213.    stack++;
  214.    post_imgur(a,function(){console.log(this.toString().split("\n").length-1,--stack)});
  215.    console.log(a.join("\n"));
  216.    }
  217.  
  218. /* ------------------------------------------------------------------------------------------------------------ */
  219.  
  220. /* http://www.socwall.com/views/images/wallpapers/ */
  221. document.body.innerHTML.match(/"\S+\.jpg(?=")/gim).filter(function(v){return v.indexOf("-290x260")==-1}).map(function(v){return v.replace("\"", location.href)}).join("\n");
  222.  
  223.  
  224.  
  225.  
  226. /* ------------------------------------------------------------------------------------------------------------ */
  227. /* http://www.allfons.ru */
  228. document.body.outerHTML="";var d=document.createElement("pre");d.style.fontSize="11px"; d.style.margin="10px"; document.body.appendChild(d);
  229. for (var i=1,stack=0;i<=2376;i++)setTimeout(get_url,i*100,"http://www.allfons.ru/page/"+i+"/", callback1);
  230.  
  231. function callback1(){
  232.    var a=this.toString().match(/\d+\/\d+\.jpg(?=" title)/gim).join("\n").replace(/(\d+)\/(\d+)/gim,"http://allfons.ru/images/$1/allfons.ru_$2").split("\n");a
  233.    stack++;
  234.    post_imgur(a,function(){console.log(this.toString().split("\n").length-1,--stack)});
  235.    //console.log(a.join("\n"));
  236.    d.innerHTML+=a.join("\n")+"\n";
  237.    document.title=stack;
  238.    }
  239.  
  240. /* ------------------------------------------------------------------------------------------------------------ */
  241. /* http://luxfon.com */
  242. document.body.outerHTML="";var d=document.createElement("pre");d.style.fontSize="11px"; d.style.margin="10px"; document.body.appendChild(d);
  243. for (var i=1,stack=0;i<=1972;i++)setTimeout(get_url,i*100,"http://luxfon.com/page/"+i+"/", callback1);
  244.  
  245. function callback1(){
  246.    var a=this.toString().match(/\d+\/\d+\.jpg(?=" title)/gim).join("\n").replace(/(\d+)\/(\d+)/gim,"http://luxfon.com/images/$1/luxfon.com_$2").split("\n");a
  247.    stack++;
  248.    //post_imgur(a,function(){console.log(this.toString().split("\n").length-1,--stack)});
  249.    //console.log(a.join("\n"));
  250.    d.innerHTML+=a.join("\n")+"\n";
  251.    document.title=stack;
  252.    }
  253.  
  254. /* ------------------------------------------------------------------------------------------------------------ */
Advertisement
Add Comment
Please, Sign In to add comment