- Home
- Skills
- Workflow Automation
- Compliant Web Scraper
Compliant Web Scraper
by 糟糕西瓜
Automated web scraping with mandatory robots.txt compliance, rate limiting, and PII filtering.
Free
Compliant Web Scraper
Example session with this skill installed
Check if I can scrape prices from https://example-store.com/products and if so, fetch the top 5 product names and prices into a CSV file.
- Read your context and instructions
- Compiled the compliant web scraper
- Generated the data export
I have completed the compliance check and data extraction for the requested site. The target path is accessible according to the site's robots.txt, and a 3.0s crawl delay was applied.
Scraping Results & Compliance Report
| Metric | Detail |
|---|---|
| Target URL | https://example-store.com/products |
| Compliance Status | PASSED (robots.txt allows /products) |
| Crawl Delay | 3.0s (with 1.5s jitter) |
| Data Type | Public Product Info (Non-PII) |
| Output File | product_prices.csv |
Extracted Data Preview
timestamp,product_name,price,currency
2023-10-27T10:15:00Z,Wireless Headphones,89.99,USD
2023-10-27T10:15:03Z,Mechanical Keyboard,120.00,USD
2023-10-27T10:15:07Z,Gaming Mouse,45.50,USD
2023-10-27T10:15:11Z,USB-C Hub,29.99,USD
2023-10-27T10:15:14Z,Monitor Stand,35.00,USD
Next steps
- View the full dataset in
product_prices.csv. - Review
cache/compliance_report.jsonfor the fullrobots.txtaudit trail. - Schedule a follow-up fetch by providing a list of additional category URLs.
product_prices.csv
CSV · data export
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
Web scraping often leads to legal risks or IP bans due to aggressive fetching and lack of compliance checks. This skill enforces a "safety-first" workflow to collect public data without violating site policies or privacy laws.
What it does
- Compliance audit runs an automated check against
robots.txtand site terms to verify path accessibility. - Data triage filters out personal identifiable information (PII) like phone numbers or addresses before extraction.
- Polite fetching executes requests with mandatory rate limiting, exponential backoff, and local caching.
- Structured extraction parses public HTML into clean JSON or CSV formats tailored to the target site structure.
- Evidence logging generates a compliance report including crawl delays and
robots.txtsnapshots for audit trails.
How it works
- Run Check: Execute
compliance_check.pyon the target URL to verify permissions and identify official APIs. - Define Schema: Specify which public fields to extract, such as product prices, news titles, or dates.
- Fetch Data: Use
polite_fetch.pywith defined delay and jitter parameters to retrieve raw content safely. - Parse and Save: The agent extracts the defined fields and saves them to a structured file with timestamps.
Frameworks & tools
Built with Python using standard libraries to minimize dependencies. Utilizes WebFetch for initial reconnaissance and local file operations for caching and logging.
Why this beats prompting it yourself
Generic prompts often ignore robots.txt or lack exponential backoff, leading to blocked IPs. This skill enforces a hard-coded compliance gate that refuses to scrape PII or restricted paths, protecting your infrastructure and reputation.
Use cases
- Market research to track competitor pricing on public e-commerce pages.
- Content aggregation for pulling headlines and links from public news portals.
- Audit preparation by generating data provenance logs for scraped datasets.
- Site monitoring to detect changes in public information without triggering security alerts.
Known limitations
Does not support sites requiring login, CAPTCHA solving, or session management. Explicitly skips any path forbidden by robots.txt or containing PII.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 3 days ago
- Free with an Agensi account
Permissions
Fetches arbitrary public websites; robots.txt rules are checked before every request. No login, CAPTCHA, paywall or anti-bot bypass.
What's inside
Frequently Asked Questions
New in Workflow Automation
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Workflow Automation.