Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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


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.