π¦ ClawHub
Scrape
by @ivangdavila
Legal web scraping with robots.txt compliance, rate limiting, and GDPR/CCPA-aware data handling.
TERMINAL
clawhub install scrapeπ About This Skill
name: Scrape description: Legal web scraping with robots.txt compliance, rate limiting, and GDPR/CCPA-aware data handling.
Pre-Scrape Compliance Checklist
Before writing any scraping code:
1. robots.txt β Fetch {domain}/robots.txt, check if target path is disallowed. If yes, stop.
2. Terms of Service β Check /terms, /tos, /legal. Explicit scraping prohibition = need permission.
3. Data type β Public factual data (prices, listings) is safer. Personal data triggers GDPR/CCPA.
4. Authentication β Data behind login is off-limits without authorization. Never scrape protected content.
5. API available? β If site offers an API, use it. Always. Scraping when API exists often violates ToS.
Legal Boundaries
Request Discipline
Mozilla/5.0 ... (contact: you@email.com)Data Handling
For code patterns and robots.txt parser, see code.md