BigEfromDaBX 25 Posted July 15, 2013 Report Share Posted July 15, 2013 I want to be able to search a keyword in google and then navigate to each link. Whats the best way to find the mailto: on a webiste? Quote Link to post Share on other sites
pftg4 102 Posted July 16, 2013 Report Share Posted July 16, 2013 search page pftg4 Quote Link to post Share on other sites
BigEfromDaBX 25 Posted July 16, 2013 Author Report Share Posted July 16, 2013 search page for the mailto:? But how do I find the page with the contact information on it? Not all pages are labeled "contact us" Quote Link to post Share on other sites
Praney Behl 314 Posted July 16, 2013 Report Share Posted July 16, 2013 search page for the mailto:? But how do I find the page with the contact information on it? Not all pages are labeled "contact us"That is the bit you'll have to code. Try finding a common ground among your sites list pages to find the contact page, or maybe a little un-efficient way is to scrape all the pages and then go with a regex gun on it. Regex to scrape emails: [a-zA-Z0-9\._\-]{3,}(@|AT|\s(at|AT)\s|\s*[\[\(\{]\s*(at|AT)\s*[\]\}\)]\s*)[a-zA-Z]{3,}(\.|DOT|\s(dot|DOT)\s|\s*[\[\(\{]\s*(dot|DOT)\s*[\]\}\)]\s^*)[a-zA-Z]{2,}((\.|DOT|\s(dot|DOT)\s|\s*[\[\(\{]\s*(dot|DOT)\s*[\]\}\)]\s*)[a-zA-Z]{2,})?$ Hope it helps, Cheers!Praney Quote Link to post Share on other sites
BigEfromDaBX 25 Posted July 17, 2013 Author Report Share Posted July 17, 2013 im thinking i have to 1. search keywords on google2. scrape links in results to a list3. take that same list go back to goole and do a site:xyz.com to get all the pages from that domain and save to another list4. take that other list and search for the emails. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.