Agent skill
web-scraper
使用CSS选择器从网页提取数据,支持分页、限速和多种输出格式。
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/web-scraper
Metadata
Additional technical details for this skill
- short description
- 从网站爬取数据
SKILL.md
Web Scraper Tool
Description
Extract structured data from web pages using CSS selectors with rate limiting and pagination support.
Trigger
/scrapecommand- User requests web data extraction
- User needs to parse HTML
Usage
# Scrape single page
python scripts/web_scraper.py --url "https://example.com" --selector ".item" --output data.json
# Scrape with multiple selectors
python scripts/web_scraper.py --url "https://example.com" --selectors "title:.title,price:.price,link:a@href"
# Scrape multiple pages
python scripts/web_scraper.py --urls urls.txt --selector ".product" --output products.json --delay 2
Tags
scraping, web, html, data-extraction, automation
Compatibility
- Codex: ✅
- Claude Code: ✅
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?