12May/0910
Twitter email grabber
Attention spammers! Webpronews exposed great email grabber idea. Find the PHP sample code below and grab, grab and grab emails from Twitter search.

Sample script
<?php $file = file_get_contents("http://search.twitter.com/search?q=gmail.com+OR+hotmail.com++OR+%22email+me%22"); $file = strip_tags($file); 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|jobs|museum)\b)siU", $file, $matches); print_r($matches); ?>
Sample output

Before you start
- Use PHP cURL and proxies instead of file_get_contents.
- Write your own search query and regular expressions.
- Remember, spam is bad!
Bye bye!
May 18th, 2009 - 08:01
mixed your code with the following code together with another user dor@tehexploa at blackhatworld.com – im relatively new to the world of scraping but your blog has helped immensly, probably not the neatest of code but works for now….
obviously this script is just for educational purposes, as actually emailing any emails gathered would be considered spam and in some places illegal we all know spam is bad so dont do it as you could be punished by big hefty fines!
[code]
<?php
//set # of pages (5) to scrape
for($i=1;$i
[/code]
May 18th, 2009 - 19:31
I found your post
http://www.blackhatworld.com/blackhat-seo/blackhat-lounge/82511-twitter-mass-e-mail-grabbing-script.html
Didn’t know about &rpp=100. Thanx!
May 27th, 2009 - 15:03
For those who haven’t played with advanced search on twitter, add &rpp=50 to the end of the search string (rpp = results per page)
And yes, it can be extended to 1000, 10000, etc
Shhhhhh
July 14th, 2010 - 23:27
This is a great tool for spammers to get emails. Even though its illegal many spammers still email emails they acquire by scraping websites.
July 31st, 2010 - 23:58
Will you people PLEASE stop spamming people. Does it turn you on when you send spam or something?! Get a girlfriend if that’s the case.
I never reply or click links in spam emails, and I will stick to that plan. If you want to advertise a product or service, do it PROPERLY. There’s hundreds of places online that you can promote it cheaply. Sending spam is just wrong.
Fucking idiots.
August 4th, 2010 - 10:36
that’s a good one :}
August 14th, 2010 - 18:05
Thanks to share such awesome tool. I just love tweeting and it will help me lot.
I found your blog while searching on Google.
October 31st, 2010 - 17:30
really great.. ok it does work on xamp but i would put different query’s like names coz it give me the same results
thanks
February 8th, 2011 - 14:16
Thanks for drawing my attention to this issue. It could be really very bad if spammers can grab emails. I really don’t like to treat spammers.
October 19th, 2011 - 11:37
I do not think there is any benefit of doing this , because in twitter if you have 2000 follower then hardly 50 people may be interested in following your tweets rather than you.