Advertisement
rg443

image parser templates

Dec 15th, 2013
276
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // http://wallnest.com/explore/?page=301
  2. var a=this.response.match(/http[^=]+jpg/gim)||[];a=a.map(function(v){return v.replace("-s.jpg","-df.jpg").replace("images","download")});
  3.  
  4.  
  5. // http://www.pickywallpapers.com/aircraft/page-10/
  6. var a=this.response.match(/http[^=]+jpg/gim)||[];a=a.map(function(v){return v.replace(/-\d+x\d+/,"").replace(/widescreen\/thumbnail|widescreen\/preview|tiny/,"1920x1200")});
  7.  
  8. // http://www.hawtcelebs.com/wp-content/uploads/2013/12/
  9. var a=document.body.innerHTML.match(/"\S+\.jpg(?=">)/gim).filter(function(v){return !/\d+x\d+|_thumbnail/.test(v)}).map(function(v){return location.href+v.substring(1)});
  10. for (var i=0;i<a.length;i+=100) setTimeout(function(i){post_imgur(a.slice(i,i+100),function(){console.log("rcvd",i,a.length)});},i,i);
  11.  
  12. // http://www.99wallpaper.com/new/2660
  13. var a=this.response.match(/0_\d+\/\S+\.jpg/gim)||[];a=a.map(function(v){return "http://www.99wallpaper.com/images/7_"+v.substring(2);});
  14.  
  15. // http://hq-wallpapers.ru/wallpapers/cars/str779
  16. var a=this.response.match(/\/wallpapers\/\S+.jpg/gim)||[];a=a.map(function(v){return location.origin+v.replace(/-\d+x\d+/,"").replace("_prevue","_1920x1200");});
  17.  
  18. var re=new RegExp(/\/wallpapers\/\S+\/pic\d+_raz(\d+x\d+).*?(\/wallpapers\/\S+)_prevue.jpg/gim),m,s=document.body.innerHTML,a=[];
  19.  while(m=re.exec(this.response)){console.log(location.origin+m[2]+"_"+m[1]+".jpg")}
  20.  
  21.  
  22. // http://view.stern.de/de/topimages/0/?page=845
  23. var a=this.response.match(/\d+\/\S+(?=-\d+\.jpg)/gim)||[];a=a.map(function(v){return "http://view.stern.de/de/original/"+ v+".jpg"});
  24.  
  25. // www.wallsave.com
  26. var re=new RegExp(/(\d+x\d+)\/(\w+)(-\S+-)(\d+).html/gim),m,a=[];
  27. while(m=re.exec(s))a.push("http://www.wallsave.com/wallpapers/"+m[1]+"/"+m[2]+"/"+m[4]+"/"+m[2]+m[3]+m[4]+".jpg");
  28.  
  29. for(var re=RegExp(/(\d+x\d+)\/(\w+)(-\S+-)(\d+).html/gim),m,a=[];m=re.exec(s);)a.push("http://www.wallsave.com/wallpapers/"+m[1]+"/"+m[2]+"/"+m[4]+"/"+m[2]+m[3]+m[4]+".jpg");
  30.  
  31. // http://www.widescreenwallpapers.us/
  32. var a=this.response.match(/[\w-]+(?=-t\d\.jpg)/gim)||[];a=a.map(function(v){return location.origin+"/wallpapers/"+v+"-1920x1080.jpg";});
  33.  
  34. // http://big-image.ru/wallpapers.php?category=%D0%92%D0%B5%D1%81%D0%BD%D0%B0&page=2
  35. var a=this.response.match(/oboi\/oboi_\S+jpg/gim)||[];a=a.map(function(v){return "http://big-image.ru/"+v});
  36.  
  37. // http://oboiki.net/photo/201
  38. var arr2=arr.join("\n").replace(/^.*\/(.*\/.*)/gim,"$1").replace(/^previews/gim,"0-0").replace(/^\[(\d+)\].*\/(.*)/gim,"$1-0/$2").replace(/^(.*)$/gim,"http://oboiki.net/photo/$1").split("\n")
  39.  
  40.  
  41. // http://sexyhd.net/Home/386
  42. var a=this.response.match(/\d+\/\S+(?=-sexy-hd.html)/gim)||[];a=a.map(function(v){ return v.replace(/(\d+)\/(\S+)/,"http://sexyhd.net/wallpaper-original/wallpapers/$2-$1.jpg");});
  43. a=a.filter(function(a,b,c){return b<=c.indexOf(a)});
  44.  
  45. // http://www.ahawallpaper.com/
  46. var a=this.response.match(/http[^=]+jpg/gim)||[];a=a.map(function(v){return v.replace(/-thumb/,"").replace(".com",".com/raw");});
  47.  
  48. // http://desktopgirlhd.com/page/101
  49. var a=this.response..match(/[\w-]+(?=-t1.jpg)/gim).map(function(v){return location.origin+"/wallpapers/"+v+"-1920x1200.jpg"})
  50.  
  51. // anywalls.com
  52. var a=s.match(/\d+\/\d+/gim).join("\n").replace(/(\d+)\/(\d+)/gim,"http://www.anywalls.com/images/$1/anywalls.com_$2.jpg").split("\n");
  53. http://www.kartinki.me/images/$1/kartinki.me_$2.jpg
  54. http://www.widefons.ru/pic/$1/1920x1200/widefons.ru-$2.jpg
  55.  
  56.  
  57.  
  58. // http://www.mrwallpaper.com
  59. var a=s.match(/\/wallpapers\/\S+(?=_tn1.jpg)/gim).join("\n").replace(/^(.*)$/gim,"http://www.mrwallpaper.com$1.jpg").split("\n");
  60.  
  61. // thumblr
  62. var a=this.response.match(/https*:[^='"]+jpg/gim)||[];a=a.map(function(v){return v.replace(/_\d+(?=.jpg)/,"_1280").replace(/\d+(?=.media.tumblr.com)/,"24").replace("https:","http:").replace(/\\/g,"");});
  63.  
  64. // http://www.theplace2.ru/
  65. var a=this.response.match(/\/archive\/\S+(?=_s.jpg)/gim)||[];a=a.map(function(v){return location.origin+v+".jpg";});
  66.  
  67. // http://pcwallpapers.in/
  68. var a=this.response.match(/\/file\/\S+\.jpg/gim)||[];a=a.map(function(v){return location.origin+v.replace(/\d+x\d+\/crop/,"1920x1200/strech")});
  69.  
  70. // http://www.nashaerotika.ru/devushki/615/
  71. var a=this.response.match(/\/files\/\S+\.jpg/gim)||[];a=a.map(function(v){return location.origin+v});
  72. a=a.map(function(v){var m=v.match(/(.*?)(\d+)(.jpg)/);v1=(parseInt(m[2])+1).toString();v1=m[2].substr(0,m[2].length-v1.length)+v1;  return m[1]+ v1 +m[3]  });
  73.  
  74. // http://vetton.ru/wallpapers/sandbox/page/1272/
  75. var a=this.response.match(/http\S+.jpg/gim)||[];a=a.map(function(v){return v.replace(/\/(138|260)\//,"/")});
  76.  
  77. // http://www.paqoo.com/category/car-wallpapers/628/
  78. var a=this.response.match(/\/gudang\/\S+.jpg/gim)||[];a=a.map(function(v){return location.origin+v.replace(/smallimg-/,"")});
  79.  
  80. // http://www.desktopaper.com
  81. var a=this.response.match(/http:\S+.jpg/gim)||[];a=a.map(function(v){return v.replace(/-\d+x\d+/,"")});
  82.  
  83. // http://wallpapersource.net
  84. var a=this.response.match(/http[^=]+jpg/gim)||[];a=a.map(function(v){if(/_\d+\.jpg/.test(v)){ v=v.replace(".jpg","_1920.jpg")};return v.replace(/\d+x\d+/,"1080x1920")});
  85.  
  86. // http://wallpapers.net
  87. var a=this.response.match(/http:\/\/wallpapers.net\/thumbs\/\S+(?=-t2.jpg)/gim)||[];a=a.map(function(v){return v.replace("thumbs","wallpapers")+"-1920x1200.jpg"});
  88.  
  89. // http://best-wallpaper.net
  90. var a=this.response.match(/\/wallpaper\/s\/\d+\/\S+(?=_s.jpg)/gim)||[];a=a.map(function(v){return v.replace("/wallpaper/s/","http://best-wallpaper.net/wallpaper/1920x1200/")+"_1920x1200.jpg"});
  91.  
  92. // hdwallshub.com
  93. var a=this.response.match(/\d+(?=\/\d+x\d+)/gim)||[];a=a.map(function(v){return "http://hdwallshub.com/download/"+v+"/1920x1200/crop/"});
  94.  
  95.  
  96. // http://www.mobilmusic.ru/newwallpaper.php?podtip=4&start=1674
  97. for (var i=i2,j=0;i>=0;i-=18,j+=500) setTimeout(function(i){
  98. var a=this.response.match(/http[^=]+(?=-\d+\.jpg)/gim)||[];a=a.map(function(v){return v+".jpg";});
  99.  
  100.  
  101. // http://www.epicnu.com/thumbs1500
  102. var a=this.response.match(/\d+\.jpg/gim)||[];a=a.map(function(v){return "http://www.epicnu.com/nude/full/"+v;});
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement