smart-web-scraper
bởi mariusfit
Web & Frontend DevelopmentTóm tắt
Extract structured data from any web page.
Mô tả
Kỹ năng này làm gì
Extracts structured data from web pages using CSS selectors or automatic detection of tables and lists. Outputs results as JSON, CSV, text, or Markdown. Supports multi-page crawling with pagination following.
Auto-installs its own dependencies via uv, so there is no manual setup before scraping a page.
Khi nào nên dùng
- Pulling product names and prices from an e-commerce listing
- Extracting all external links from a documentation site
- Scraping a pricing table into a spreadsheet-ready CSV
- Collecting article headlines across multiple paginated pages
- Grabbing contact details from a directory page
Quy trình ví dụ
User asks: extract all products from https://shop.example.com as JSON
- 1
Run the extract command with the shop URL and a CSS selector targeting product elements
- 2
Specify JSON output format with the -f json flag
- 3
Save the output to a local file using -o products.json
- 4
Review the resulting JSON array for product text and tag data
A products.json file containing a JSON array with each product's text, tag, and class attributes
Cài đặt
clawhub install mariusfit/smart-web-scraperChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.