Don't like ads? PRO users don't see any ads ;-)
Guest

[PHP] SUiCiDEGiRLS.COM THUMB iMAGES GRABBER

By: scriptz-team on Aug 5th, 2012  |  syntax: None  |  size: 1.05 KB  |  hits: 139  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php
  2. error_reporting(0);
  3. set_time_limit(0);
  4. /*
  5.      _____ _____ _ _____ _____         _____ _____ _____ _____
  6.  ___|     | __  |_|  _  |_   _|___ ___|_   _|   __|  _  |     |
  7. |_ -|   --|    -| |   __| | | |- _|___| | | |   __|     | | | |
  8. |___|_____|__|__|_|__|    |_| |___|     |_| |_____|__|__|_|_|_|
  9. |s C R i P T z - T E A M . i N F O|
  10.  
  11. SUiCiDEGiRLS.COM THUMB iMAGES
  12.  
  13. SiNCE WE LOVE GiRLz, DONT U ?! :D
  14. */
  15. function pretty($arr)
  16. {
  17.     if (is_array($arr)) {
  18.         foreach ($arr as $key => $val) {
  19.             if (is_array($val)) {
  20.                 $retStr = pp($val);
  21.             } else {
  22.                 $retStr .= $val;
  23.             }
  24.         }
  25.     }
  26.    
  27.     return $retStr;
  28. }
  29.  
  30.  
  31. function get_thumbz($i)
  32. {
  33.     $request = file_get_contents("http://suicidegirls.com/albums/girls/page" . $i . "/");
  34.     preg_match_all('/<img src="(.*)".* width="169".*/i', $request, $items);
  35.     return $items[0];
  36. }
  37.  
  38. for ($i = 1; $i <= 262; $i++) {
  39.     echo pretty(str_replace("/media/girls/", "http://suicidegirls.com/media/girls/", get_thumbz($i)));
  40. }
  41. ?>