1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Twitter E-mail Extractor Script - Get It Free!!

Discussion in 'Social Networking Sites' started by ExtremeSEO, Dec 15, 2009.

  1. ExtremeSEO

    ExtremeSEO BANNED BANNED

    Joined:
    Nov 11, 2009
    Messages:
    364
    Likes Received:
    394
    Extract E-mail addresses from Twitter

    PHP:

    <?php
    /*************************
    *
    * Twitter Email Mass Extractor 
    */
     
    if(!isset($_GET['action'])) {
     
          
    $file $_SERVER["SCRIPT_NAME"];
          
    $break Explode('/'$file);
          
    $pfile $break[count($break) - 1]; 
     
          
    print_r('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html><head><title>Twitter Email Mass Extractor</title>
    </head><body bgcolor="#7DE3F9">
    <center> <h1>Twitter Extractor v.1</h1> <br />
    <form action="'
    .$pfile.'?action=do" method="post">
    <table width="70%" height="70%" bgcolor="#BBEFFA" border="0">
    <tr> <td width="33%" height="100%" valign="center" align="left" >
    <center><b> How many Twitter pages: </b> <br /><br />
    <input name="pagenr" type="text" size="2" value="10">
    <br /><br /><b>Tweple country:</b><br /> (English = en, Spanish = es)
    <br /><br /><input type="text" name="country" value="en" size="2">
    <br /><br /> <br /><input type="submit" value="Search for Emails!" size="6">
    </center></td><td width="33%" height="100%" valign="center" ><center>
    <b>Are you using keywords ? </b><select name="keyword"> <option>yes</option> <option selected="selected">no</option> </select>
    <br /><br /><textarea name="keywords" rows="10" cols="20">
    keyword1
    keyword2
    keyword3</textarea></center></td>
    <td width="33%" height="100%" valign="center" >
    <center><b>Domain type for searching:</b><br /><br />
    <textarea name="domains" rows="10" cols="20">
    gmail.com
    yahoo.com
    msn.com
    aol.com
    hotmail.com</textarea></center></td>
    </tr></table></form></center> </body></html>
    '
    );
     
      } else {
     
    print_r('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
    <title>Twitter Email Extractor</title>  
    </head>
    <body bgcolor="#7DE3F9">
    <center> <h1>Twitter Extractor v.1</h1> 
    <br />
    <table width="70%" height="70%" bgcolor="#BBEFFA" border="0">
    <tr> 
    <td width="100%" height="100%" valign="center" align="center">
    <b>Extracting ... </b><br /><br />
    <textarea cols="30" rows="20">'
    );
     
      
    $err 0;
     
      if(isset(
    $_POST['pagenr']) && $_POST['pagenr'] != "") { $pagenr $_POST['pagenr'];
     
      } else { 
    $err 1$errn $errn."\n Number of pages is missing"; }
     
      if(isset(
    $_POST['country']) && $_POST['country'] != "") { $country $_POST['country']; 
     
      } else { 
    $err 1$errn $errn."\n Country is missing"; }
     
      if(isset(
    $_POST['keyword']) && $_POST['keyword'] != "") { $keyword $_POST['keyword']; 
     
      } else { 
    $err 1$errn $errn."\n Keyword option is missing"; }
     
      if(
    $keyword == "yes") { if(isset($_POST['keywords']) && $_POST['keywords'] != "") { $keywords $_POST['keywords']; 
     
      } else { 
    $err 1$errn $errn."\n Keywords missing"; } }
     
      if(isset(
    $_POST['domains']) && $_POST['domains'] != "") {$domains $_POST['domains']; 
     
      } else { 
    $err 1$errn $errn."\n Domains missing"; }
     
      if(
    $err == 0)     { 
     
         
    $domains nl2br($domains);
         
    $domains explode('<br />'$domains);
         foreach(
    $domains as $dd)
         {
           
    $domainsvar $domainsvar.trim($dd)."+";   
         }
         
    $domainsvar strrev(substr(strrev($domainsvar), 1));
         if(
    $keyword == "yes") {
     
          
    $keywords nl2br($keywords);
          
    $keywords explode('<br />'$keywords); 
     
         foreach(
    $keywords as $key) {
     
         for(
    $i=1$i <= $pagenr$i++) {
     
    $file file_get_contents("http://search.twitter.com/search?page=".$i."&rpp=100&ands=".trim($key)."&ors =".$domainsvar."&lang=".$country);
         
    $file strip_tags($file);
     
         
    $matches "";
     
    preg_match_all("([a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+(?:[A-Z]{2}|com|org|net|gov|mil|biz|info|mobi|name|aero|jo bs|museum)\b)siU"$file$matches);
     
         foreach(
    $matches[0] as $mtt) {        
             echo 
    trim($mtt)."\n"ob_flush(); flush();
         }        
     
     
         }  }   }  else {
     
         for(
    $i=1$i <= $pagenr$i++) {
     
    $file file_get_contents("http://search.twitter.com/search?page=".$i."&rpp=100&ors=".$domainsvar."&lan g=".$country);
         
    $file strip_tags($file);
     
         
    $matches ""
     
    preg_match_all("([a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+(?:[A-Z]{2}|com|org|net|gov|mil|biz|info|mobi|name|aero|jo bs|museum)\b)siU"$file$matches);
     
         foreach(
    $matches[0] as $mtt) {        
             echo 
    trim($mtt)."\n";ob_flush();flush();}         
             }
     
     
         }        
     
     
      } else {
     
          echo 
    "Errors:".$errn;
     
      } 
     
     
      
    print_r('</textarea>
    <br /><br />
    <font color="red" size="5"><b> DONE !!! </b></font>
    </td></tr>  
    </body>
    </html>'
    ); 
     
     
      }
     
     
     
     
     
     
    ?>                      

     
    • Thanks Thanks x 6
  2. showboytridin

    showboytridin Regular Member

    Joined:
    Sep 5, 2009
    Messages:
    348
    Likes Received:
    714
    Location:
    127.0.0.1
    Already shared around here. I have done a twitter script that runs every hour. PM if anyone interested.
     
  3. ExtremeSEO

    ExtremeSEO BANNED BANNED

    Joined:
    Nov 11, 2009
    Messages:
    364
    Likes Received:
    394
    Sorry about that, I didnt see anther twitter e-mail scraper on here in a search.
     
  4. showboytridin

    showboytridin Regular Member

    Joined:
    Sep 5, 2009
    Messages:
    348
    Likes Received:
    714
    Location:
    127.0.0.1
    You can see it here:

    Code:
    http://www.blackhatworld.com/blackhat-seo/member-downloads/99017-get-php-twitter-email-extractor-2.html

     
  5. ExtremeSEO

    ExtremeSEO BANNED BANNED

    Joined:
    Nov 11, 2009
    Messages:
    364
    Likes Received:
    394
    thanks my friend