A lightweight Chrome extension, WaGS, that scrapes phone numbers from elements with a class ( e.g., ._ao3e for WhatsApp phone numbers)
- Select country code (+55, +52, +57, etc.)
- Scrape & Count — see how many numbers found without downloading
- Download List — download only when ready
- No auto-download
- Removes duplicates
- Works on any page with
._ao3eelements
- Download or clone this repository
- Open Chrome →
chrome://extensions - Enable Developer mode (top right)
- Click "Load unpacked"
- Select this folder
Could you adjust the following depending on the site you are scraping?
In popup.js - For WhatsApp (._ao3e):
const elements = document.querySelectorAll("._ao3e");
In popup.html - add as many country codes as you want:
<select id="countryCode">
<option value="+55">Brazil (+55)</option>
<option value="+52">Mexico (+52)</option>
.
.
.
<option value="+58">Venezuela (+58)</option>
</select>
- Go to a page with phone numbers (usually in
._ao3eelements) - Click the extension icon
- Choose country code
- Click "Scrape & Count"
- If numbers found → click "Download List"
This project is inspired by this code