web-scraper

Extract structured data from HTML using CSS selectors or XPath queries.

2|1|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/robomotionio/robomotion-skills --skill web-scraper-robomotionio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: web-scraper
Source: https://github.com/robomotionio/robomotion-skills/tree/main/skills/web-scraper
Command: npx skills add https://github.com/robomotionio/robomotion-skills --skill web-scraper-robomotionio

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Extract data from HTML pages by querying the DOM with CSS selectors or XPath, eliminating manual parsing and reducing errors.

Core Features & Use Cases

  • CSS selector and XPath based extraction of text and attributes from HTML
  • Output structured data from pages, tables, and lists for analytics
  • Use case: collect product titles, prices, and ratings from e-commerce pages for dashboards

Quick Start

Load HTML content or a URL and perform queries to extract the data you need.

Frequently Asked Questions about web-scraper

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract structured data from HTML pages using CSS selectors or XPath?

To extract structured data from HTML pages, you can use CSS selectors or XPath queries to target specific DOM elements. This approach allows you to pull text and attributes from pages, tables, and lists, outputting the results as structured JSON for analytics tasks.

What is the best way to scrape product prices and ratings from e-commerce pages?

Scraping product prices and ratings from e-commerce pages is best handled by applying CSS selectors or XPath queries to the HTML DOM. This method collects titles, prices, and metadata across multiple pages, outputting structured JSON results for dashboards or tracking.

Can I load a URL directly to perform web scraping and data extraction?

Yes, you can load URLs directly for web scraping and data extraction. The process requires a DOM parsing workflow where you provide a URL or raw HTML, apply the necessary CSS or XPath queries, and retrieve the extracted data as JSON.

Does DOM parsing work for extracting content from multiple web pages?

DOM parsing works effectively for extracting content from multiple web pages by querying the HTML structure. By applying consistent CSS selectors or XPath expressions across different pages, you can aggregate content and metadata into a unified JSON output.

Why use XPath or CSS selectors instead of manually parsing HTML?

Using XPath or CSS selectors instead of manually parsing HTML eliminates manual coding errors and reduces effort. Querying the DOM directly provides a reliable way to extract specific text and attributes, ensuring accurate structured data output for downstream analytics.

What are the limitations of using CSS selectors for web data extraction?

Limitations of using CSS selectors for web data extraction include dependency on static HTML structure, meaning dynamic JavaScript-rendered content may not be captured. It requires a DOM parsing workflow and accurate selectors to successfully extract data into JSON.