电子商务
- 作者仓库星标 1,112
- 作者仓库 web-agent
- 领域
- 数据
- 作者声明的智能体
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 运行环境证据
- 未执行;当前没有隔离运行测试证据
- 作者 / 版本 / 许可证
- @firecrawl · 未声明许可证
- 上下文用量评级
- 低消耗
- 接入复杂程度
- 即装即用
- 是否需要外部接口密钥
- 不需要
- 兼容的系统
- 未声明(默认跨平台)
- 运行环境要求
- 未检出明确要求
- 检测到的文件与系统行为
-
- 只读
- 网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
需要注意: 未声明工具权限范围;实际权限由运行环境决定。
# E-commerce Extraction
## General Patterns
- Check for sitemap.xml first -- many stores list all product URLs
- Look for /products.json, /api/products, or similar API endpoints before scraping HTML
- Product listing pages usually paginate: look for ?page=N, ?offset=N, or "Load more" buttons
- Always check the total count shown on the page vs what you've extracted
## Product Data Checklist
- Name, brand, SKU/ID
- Price (current, original/compare-at, currency)
- Variants (size, color, etc.) with per-variant pricing and availability
- Images (primary + gallery)
- Description (short + long)
- Category/breadcrumb path
- Availability/stock status
- Ratings and review count
## Pagination
- Check for: next/prev links, page numbers, "showing X of Y" text
- For infinite scroll: use interact to scroll and load more
- Keep count: if page says "200 products" and you have 24, keep going
## JS-Heavy Sites
- Use interact for sites that require JavaScript rendering
- Look for XHR/API calls in the page that return JSON -- often easier than parsing HTML
- Single-page apps often have internal APIs at predictable paths
## Site-specific playbooks are in the sites/ directory
章节与文件索引
按说明文件中的顺序排列。
一般模式
产品数据清单
分页
JS 重站点
文件/命令 -> sitemap.xml · products.js · api/products · SKU/ID · original/compare-at · Category/breadcrumb · Availability/stock · next/prev
内容校验值 -> c9869d491964
当前原文的自动摘译,尚未人工审校。
一般模式
首先检查 sitemap.xml - 许多商店列出所有产品 URL 在抓取 HTML 之前查找 /products.json、/api/products 或类似的 API 端点 产品列表页面通常分页:查找 ?page=N、?offset=N 或“加载更多”按钮 始终检查页面上显示的总计数与您提取的内容
产品数据清单
名称、品牌、SKU/ID 价格(当前、原始/比较、货币) 变体(尺寸、颜色等)以及每个变体的定价和可用性 图片(主要 + 图库) 描述(短 + 长)
分页
检查:下一个/上一个链接、页码、“显示 X of Y”文本 对于无限滚动:使用交互来滚动并加载更多内容 保持计数:如果页面显示“200 个产品”并且您有 24 个,请继续进行
JS 重站点
对需要 JavaScript 渲染的网站使用交互 在返回 JSON 的页面中查找 XHR/API 调用——通常比解析 HTML 更容易 单页应用程序通常在可预测的路径上有内部 API