Scrape

From bighardperson/computer-science-skills-collection · View interactive version

Scrape is an AI agent skill from the GitHub repository bighardperson/computer-science-skills-collection. Legal web scraping with robots.txt compliance, rate limiting, and GDPR/CCPA-aware data handling.

How to use this skill

Skill file

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

Data Handling

For code patterns and robots.txt parser, see code.md

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.