Smart Scraper for Openclaw

An AI-driven web scraping tool designed to automatically recognize and extract structured data like lists and tables from any URL.

yadanzheng68-cmyk
v1.0.0
Mar 18, 2026
0
856
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install smart-scraper

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install smart-scraper using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Smart Scraper?

Smart Scraper is a sophisticated utility within the Openclaw Skills ecosystem designed to eliminate the manual effort of writing custom selectors for every website. By leveraging intelligent structure recognition, it identifies the underlying layout of a page to accurately parse content regardless of the DOM complexity.

Whether you are dealing with infinite-scrolling product feeds or deeply nested data tables, this skill provides a streamlined interface for developers to turn unstructured web pages into clean, actionable datasets. It bridges the gap between raw HTML and structured formats like JSON, CSV, and Markdown.

Smart Scraper Use Cases

  • Extracting product listings and pricing data from e-commerce sites for market analysis.
  • Converting long-form blog posts and news articles into Markdown for personal knowledge bases.
  • Harvesting tabular data from financial or research portals into CSV format for spreadsheet processing.
  • Monitoring news aggregators or forum lists for specific top-level trends and metadata.

How Smart Scraper Works

  1. The user provides a target URL and optional extraction parameters via the CLI.
  2. Smart Scraper initializes a headless browser session using Playwright to load the page content.
  3. The engine analyzes the page layout to detect patterns corresponding to lists, articles, or tables.
  4. If enabled, the tool performs auto-scrolling to capture lazy-loaded content or infinite feeds.
  5. The identified data is parsed for specific attributes like dates, URLs, and prices.
  6. The extracted data is serialized into the requested format (JSON, CSV, or Markdown) and output to the terminal or a file.

Smart Scraper Setup

To integrate Smart Scraper into your workflow, ensure you have Node.js and npm installed. You can set up the required dependencies for this entry in Openclaw Skills using the following commands:

npm install playwright
npx playwright install

Smart Scraper Data Schema & Taxonomy

Smart Scraper organizes output based on the extraction type and format selected. The internal taxonomy follows this structure:

Data Type Attributes Extracted Recommended Format
List Titles, Links, Prices, Image URLs JSON / CSV
Article Headlines, Body Text, Author, Date Markdown
Table Header rows, Columnar data, Cell values CSV

Metadata includes the source URL and the timestamp of the extraction session.

Smart Scraper Advanced Features

  • Intelligent Auto-detection: Use the --type auto flag to let the AI determine the best extraction strategy for the page structure.
  • Infinite Scroll Support: The --scroll flag enables the agent to handle modern, reactive web apps that load content dynamically.
  • Flexible Serialization: Seamlessly switch between data structures for different downstream applications, such as using CSV for Excel or Markdown for Obsidian.
  • Item Capping: Use the --max parameter to optimize performance and token usage by limiting the extraction count.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*