AI AGENT ADDONS

Getting information from websites can be tricky when they try to block automated tools. This method uses a smart scraping cascade of different techniques to overcome blocks. It starts with fast methods and falls back to slower JavaScript-rendering ones when needed.

You can extract text, titles, and other content from most pages. The code includes anti-bot bypass features like rotating user agents and stealth mode. It also handles paywalls and social media sites.

The tools used are Trafilatura for simple pages, Requests for basic HTML, and Playwright with stealth mode for complex JavaScript sites. This approach ensures you get the data you need reliably and ethically.

Add Web Scraping skill to your workflow

Global

mkdir -p ~/.claude/skills/web-scraping

Project

mkdir -p .claude/skills/web-scraping

Source Repository

Stars
299
Forks
54
Watchers
299
License
MIT
Last Push
1 month ago
Created
7 months ago