← 返回
未分类 中文

Shopify JSON-LD Parser

Parse JSON-LD structured data from Shopify product pages to extract commerce details like product info, offers (price, currency, availability), and inventory...
解析 Shopify 产品页面的 JSON‑LD 结构化数据,提取商品信息、报价(价格、货币、库存)及库存等商业信息。
igorganapolsky
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 342
下载
💾 0
安装
1
版本
#latest

概述

Shopify JSON-LD Parser

Parse JSON-LD from Shopify product pages (or any schema.org/Product JSON-LD) to extract structured commerce data reliably.

Quick Start

  1. Fetch HTML: web_fetch a product page URL.
  2. Parse: Run scripts/parse_shopify_jsonld.py input.html (outputs JSON).
  3. Query output for offers, availability, etc.

Example:

exec command="python3 skills/shopify-jsonld-parser/scripts/parse_shopify_jsonld.py page.html"

Workflow

  1. Input: HTML file/path with JSON-LD (from web_fetch, read, or local).
  2. Find JSON-LD: Script extracts all