Email Scraper

Scrape emails across multiple pages and save to CSV

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

نووسەر
MarwanShehata
Daily installs
0
Total installs
18
Ratings
0 0 0
وەشان
0.2
Created
2025-03-27
Updated
2025-03-27
Size
3.68 KB
مۆڵەت
MIT
Applies to

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