• Stars
    star
    140
  • Rank 253,196 (Top 6 %)
  • Language
    Python
  • Created over 6 years ago
  • Updated 11 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

The main functionality is to extract all the emails from one or several URLs - La funcionalidad principal es extraer todos los correos electr贸nicos de una o varias Url

Add Feature: 13-07-2022

  • You can save the mailing list in a .csv file

Fix: 13-09-2019

  • Fix - The script was pasted when searching for phrases on Google.
  • Add Requirements - pip install -r requirements.txt

Email Extractor Functions

English

  • (1) Extract emails from a single URL

  • (2) Extract emails from a URL (Two Levels) - Search on the page and all its URLs

  • (3) Do a Google search, save the Urls found and search the emails

  • (4) Same as option 3 but with a list of keywords (TODO)

  • (5) You can list the saved emails

  • (6) You can save the mailing list in a .txt file

  • (7) You can save the mailing list in a .csv file

  • (8) Delete Emails from data base

  • (9) Exit

  • The emails are stored in a Sqlite database ("Emails.db")

Espa帽ol

  • (1) Extraer los correos de una 煤nica URL

  • (2) Extraer los correos de una Url (Dos Niveles) - Busca sobre la p谩gina y todas sus URL

  • (3) Hacer una busqueda en Google, guardar las Urls encontradas y buscar los correos en dichas Urls

  • (4) Igual que la opci贸n 3 pero con una lista de palabras (TODO)

  • (5) Listar correos guardados

  • (6) Se pueden guardar los correo en un archivo .txt

  • (7) Se pueden guardar los correo en un archivo .csv

  • (8) Eliminar correos de la base de datos

  • (9) Salir

  • Todos los correos son guardados en una base de datos Sqlite ("Emails.db")

Versi贸n: Python 3.x.

Required modules - Modulos necesarios

pip install -r requirements.txt

Extraer correos de paginas web con Python

Docker

Docker and docker-compose are required.

In order to use docker follow below instructions:

Installation

  1. Get an .env file
cp .env.example .env
  1. Start docker container
docker-compose up -d --build

Usage

To execute the script and get the options menu:

docker exec -ti email-extractor python EmailExtractor.py

To get the sqlite db with al e-mails:

docker cp email-extractor:Emails.db .

To get the file saved, for instance, as "out":

ocker cp email-extractor:out.txt .