← All projects
ScrapingUnited Kingdom·2024·1 month
Facebook Public Events Scraper
Built a Puppeteer script that continuously scrolls and extracts public event listings from a Facebook events explore page — feeding a UK events aggregator platform.
Overview
Built a scraper for a London-based events platform that needed to continuously pull public event data from Facebook's events explore page.
How It Works
- Launches a headless Puppeteer browser session
- Navigates to the Facebook public events explore page for London
- Continuously scrolls to load more events
- Extracts event names, dates, times, locations, and links
- Outputs structured data for the client's aggregator pipeline
Technical Notes
- Handles Facebook's dynamic rendering and infinite scroll
- Includes anti-detection measures to reduce rate-limiting
- Outputs to JSON / CSV for downstream ingestion
Tech stack
PuppeteerNode.jsJavaScriptWeb Scraping