Email Scraper

Scrape emails across multiple pages and save to CSV

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

You will need to install an extension such as Tampermonkey to install this script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

Autore
MarwanShehata
Installazioni giornaliere
0
Installazioni totali
18
Valutazione
0 0 0
Versione
0.2
Creato il
27/03/2025
Aggiornato il
27/03/2025
Dimensione
3,68 KB
Licenza
MIT
Applica a

Email Scraper

A Tampermonkey userscript to scrape email addresses from multiple pages on the Law Society's solicitor search results (https://solicitors.lawsociety.org.uk/) and export them as a CSV file.

Description

This script automates the process of collecting email addresses from paginated search results on the Law Society website. It navigates through up to 80 pages, extracts emails from elements with a data-email attribute, removes duplicates, and provides a downloadable CSV file via a prominent button when finished. The script uses Tampermonkey's storage to persist data across page loads, ensuring no emails are lost during navigation.

Features

  • Scrapes emails from a[data-email] elements across multiple pages.
  • Automatically clicks the "Next" pagination link to move between pages.
  • Removes duplicate emails using a Set.
  • Saves collected emails to a CSV file with a styled "Download" button.
  • Limits scraping to a maximum of 80 pages to prevent infinite loops.
  • Includes a 6-second delay between page loads to avoid overwhelming the server.

Installation

Prerequisites

  • Tampermonkey: Install the Tampermonkey extension for your browser

Steps

  1. Install the Script:
    • Option 1: Direct Install:
      • Click this link to install directly in Tampermonkey: Raw URL