Advertisement
jptsetung

HTML BOT MicroMiners reviews

Dec 10th, 2012
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 5.60 KB | None | 0 0
  1. file htmlbot.php :
  2. <?
  3. echo "HTML BOT<br />";
  4.  
  5. $handle = @fopen(dirname(__FILE__)."/urllist.txt", "r");
  6. $reqcount=0;
  7.  
  8. $keywords=array("twitter.com/jpsarda"=>0,"http://bonuslevel.org"=>0,"http://www.bonuslevel.org"=>0,"http://microminers.com"=>0,"http://www.microminers.com"=>0,"twitter.com/microminers"=>0,"twitter.com/bonuslevelorg"=>0);
  9.  
  10. $kindurls=array();
  11.  
  12. $atleastonecount=0;
  13.  
  14.  
  15. if ($handle) {
  16.     while (($buffer = fgets($handle, 4096)) !== false) {
  17.         $reqcount++;
  18.         echo "Requesting page [$reqcount] ".$buffer." ...<br />";
  19.        
  20.         //$page_source=file_get_contents($buffer);
  21.        
  22.        
  23.         $curl_handle=curl_init();
  24.         curl_setopt($curl_handle, CURLOPT_URL,$buffer);
  25.         curl_setopt($curl_handle, CURLOPT_CONNECTTIMEOUT, 2);
  26.         curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, 1);
  27.         curl_setopt($curl_handle, CURLOPT_USERAGENT, 'HTML BOT');
  28.         $page_source = curl_exec($curl_handle);
  29.         curl_close($curl_handle);
  30.        
  31.         $onefound=0;
  32.         foreach ($keywords as $k => $v) {
  33.             $found=(strrpos($page_source, $k)!==false);
  34.             $v+=$found;
  35.             if ($found) $onefound=1;
  36.             $keywords[$k]=$v;
  37.             echo " ".$k." [".$found."]";
  38.         }
  39.         $atleastonecount+=$onefound;
  40.         if ($onefound) {
  41.             $kindurls[]=$buffer;
  42.         }
  43.         echo "<br />";
  44.     }
  45.     if (!feof($handle)) {
  46.         echo "Error: unexpected fgets() fail\n";
  47.     }
  48.     fclose($handle);
  49.    
  50.     echo "Total requests : $reqcount<br />";
  51.     foreach ($keywords as $k => $v) {
  52.         echo $k." [".$v."][".$v*100/$reqcount."%]<br />";
  53.     }
  54.     echo "One of them [".$atleastonecount."][".$atleastonecount*100/$reqcount."%] :<br />";
  55.     foreach ($kindurls as $k => $v) {
  56.         echo "$v<br />";
  57.     }
  58. }
  59. ?>
  60.  
  61. file urllist.txt :
  62. http://uk.ign.com/articles/2012/11/15/app-store-update-november-15-2
  63. http://www.macinplay.de/2012/11/ios-micro-miners-immer-tiefer-immer-besser/
  64. http://www.funtouch.net/Actu-11931-Micro-Miners-petits-mineurs-pour
  65. http://www.youtube.com/watch?v=4FZwSTZxsW8&feature=youtu.be&a
  66. http://taptoplay.ru/2012/11/micro-miners/
  67. http://www.buzzfeed.com/nowthisnews/5-coolest-and-new-gaming-apps-749g
  68. http://www.pocketgamer.co.uk/r/iPhone/Micro+Miners/review.asp?c=46812
  69. http://appleprogs.com/micro-miners-little-swearing-men-in-big-pixels.html
  70. http://blog.livedoor.jp/kamekameboy/archives/20351475.html
  71. http://www.stromstock.de/2012/11/21/test-microminers-video/
  72. http://ireviewt.com/index.php/2012/11/25/micro-miners-review/
  73. http://www.businessinsider.com/micro-miners-review-iphone-ipad-2012-11
  74. http://www.modojo.com/reviews/ipad/micro_miners/
  75. http://uk.ign.com/videos/2012/11/15/microminers-developer-gameplay-demonstration
  76. http://www.metacritic.com/game/ios/micro-miners/critic-reviews
  77. http://indiegames.com/2012/11/best_of_indie_games_from_micro.html
  78. http://arcadesushi.com/micro-miners-review/
  79. http://belgium-iphone.lesoir.be/2012/11/16/micro-miners-debarque-sur-lapp-store-5-licences-a-remporter/
  80. http://puzzle-app.com/2012/11/18/micro-miners.html
  81. https://twitter.com/notch/status/244493852151521280
  82. http://www.freegli.com/iphone/micro-miners
  83. http://lab.weiphone.com/iPhone/games/2012-11-17/The_ultra-_creative_pixel_clearance_mini_miners_538790.shtml
  84. http://jayisgames.com/archives/2012/11/micro_miners.php
  85. http://www.appsontapp.com/micro-miners/
  86. http://gamek.vn/c214n2012111911579820/micro-miners-dao-vang-kieu-ios.chn
  87. http://www.iphoneitalia.com/micro-miners-un-fantastico-retro-game-ispirato-a-miners4k-la-recensione-completa-di-iphoneitalia-436453.html
  88. http://www.appgefahren.de/microminers-gruben-graben-mit-kleinen-retro-minenarbeitern-55635.html
  89. http://www.ipadblogs.nl/2012/11/klassiek-mijnen-pixelprachtige-micro-miners/
  90. http://www.148apps.com/reviews/microminers-review/
  91. http://www.stromstock.de/wordpress/?p=4258
  92. http://appadvice.com/appnn/2012/11/todays-best-apps-real-boxing-coaster-crazy-rock-festival-and-more
  93. http://toucharcade.com/2012/11/19/micro-miners-review/#comments
  94. http://de.news-republic.com/Web/ArticleWeb.aspx?regionid=9&articleid=5219569
  95. http://feber.se/iphone/art/257447/vi_provar_micro_miners/
  96. http://www.modojo.com/features/micro_miners_cheats_and_tips/
  97. http://ipad.qualityindex.com/news/19012/qis-top-10-ipad-games-and-apps-of-november-2012
  98. http://www.metacritic.com/feature/best-ios-games-november-2012
  99. http://www.macinplay.de/2012/12/macinplay-adventskalender-turchen-1/
  100. http://www.macinplay.de/spiele-tests/ipad/micro-miners/
  101. http://iphone.qualityindex.com/games/664164/micro-miners
  102. http://www.businessinsider.com/micro-miners-cheats-and-tips-2012-11
  103. http://www.gametrailers.com/mobile-apps/40547/app-of-the-day-micro-miners
  104. http://app4phone.fr/article-65833/microminers
  105. http://www.youtube.com/watch?v=9Dgd328o9i4
  106. http://n4g.com/news/1127563/pocket-gamer-micro-miners-review
  107. http://www.gamezebo.com/games/micro-miners
  108. http://gameviewpoint.com/iphone/micro-miners/
  109. http://www.metacritic.com/game/ios/micro-miners
  110. http://www.148apps.com/tag/micro-miners/
  111. http://appaddict.net/2012/11/20/the-portable-podcast-the-struggles-of-indie-ios-devs-to-make-a-fair-yet-profitable-freemium-titles/
  112. http://www.macitynet.it/iphonia/articolo/Micro-Miners-minatori-micro-inarrestabili-su-iPhone-e-iPad/aA65068
  113. http://de.pocketgamer.com/content/testbericht-micro-miners-ios-review
  114. http://www.worldofapple.nl/2012/12/review-micro-miners-voor-iphone-ipod-touch-en-ipad/
  115. http://www.appmyworld.com/blog/top-5-iphone-and-ipad-games-of-the-week-12512.html#.UL-cAJPjkjc
  116. http://www.youtube.com/watch?v=4FZwSTZxsW8
  117. http://www.youtube.com/watch?v=yC-JIFtNJJY
  118. http://www.youtube.com/watch?v=JXCmwLkg0XA
  119. http://www.modojo.com/reviews/iphone/micro_miners/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement