数据提取

HTML表格提取

schema.json 在线从 HTML 代码中提取 table 表格,转换为 JSON 数组或 CSV 格式。


            

使用说明

本板块汇总与本工具相关的人类可读说明;机器契约仍以 schema.json 为准。

参数与限制

功能说明

运行环境

  • 本工具通过 Node.js API 处理请求,数据发送到 clawam.com 服务器。

Agent API 调用示例

// Step 1: 读取工具 Schema
GET https://clawam.com/tools/table_extract/schema.json

// Step 2: HTML表格提取
// POST /api/table_extract/
POST https://clawam.com/api/table_extract/
// Body (JSON)
{
  "html": "<table>...</table>",
  "format": "json"
}
// format 可选: "json" 或 "csv"