website-table-scraper

Extract HTML tables into JSON using Python's HTMLParser module.

Updated May 15, 2026
One-click install
npx skills add https://github.com/dawsonblock/agent_eval_skills_merged_clean --skill website-table-scraper
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: website-table-scraper
Source: https://github.com/dawsonblock/agent_eval_skills_merged_clean/tree/main/ToolForge/skills/website-table-scraper
Command: npx skills add https://github.com/dawsonblock/agent_eval_skills_merged_clean --skill website-table-scraper

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of parsing HTML tables from local pages and converting them into structured JSON, enabling efficient data extraction and integration into other systems.

Core Features & Use Cases

  • HTML Table Parsing: Extracts tables from HTML content and converts them to JSON format.
  • Data Accessibility: Provides a structured format for data that can be easily used for ETL processes, analytics, and further automation.
  • Use Case: Ideal for scenarios where you need to collect data from web pages, such as product listings, statistics, or any tabular information available on the web.

Quick Start

Run the skill to extract tables from 'example.html' and save the results to 'output.json'.

Frequently Asked Questions about website-table-scraper

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

FAQPage Schema
How do I extract HTML table data and convert it to JSON for automation?

Extracting HTML table data and converting it to JSON is done by parsing HTML content to isolate table structures and outputting the rows and columns as structured JSON. This enables automated data processing and integration into ETL pipelines.

What is the best way to parse tabular web page data for ETL processes?

The best way to parse tabular web page data for ETL processes is to use an HTML parsing module that targets table tags directly and transforms the cell data into accessible JSON, providing a structured format for analytics and downstream automation.

Can I use this HTML table extraction approach for local web page files?

Yes, you can use this HTML table extraction approach for local web page files. The process requires basic file I/O operations to read local HTML content, parse the tables, and save the extracted data directly to an output JSON file.

Does this data transformation method require external web scraping dependencies?

No, this data transformation method does not require external web scraping dependencies. It relies on Python's built-in HTMLParser module to perform HTML parsing and table extraction without needing additional libraries or external packages.

What are the limitations of using HTMLParser for table extraction?

A limitation of using HTMLParser for table extraction is that it processes raw HTML content rather than rendering dynamic JavaScript. It is designed for static web pages and local files, meaning it cannot scrape tables generated dynamically by client-side scripts.

How do I automate data extraction from product listings in HTML to JSON?

To automate data extraction from product listings in HTML to JSON, you run a script that parses the HTML content, identifies the tabular structures, and transforms the statistics or product data into a structured JSON format for immediate use.