Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm looking for an email and data extraction programme to build a mailing list for particular industries, I am looking for one with a simple GUI but has extensive capabilities and easy to use on ubuntu.

share|improve this question

1 Answer 1

You can use something like HTTrack to create a local static mirror of the site first. Then cd into the local mirror and grep for email addresses:

grep -srhwoIiE "[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}" . \
| tr '[:upper:]' '[:lower:]' \
| sort -u

There are probably better regexes for emails (it's notoriously difficult because the email RFC is so loose) but that should get you going.

share|improve this answer
    
That's great oli, is there anyway of getting more fields than just the email addresses? are there any programmes which can do it directly off the sites? –  Robotics News Oct 13 '12 at 18:11

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.