Install
openclaw skills install category-link-collector采集电商网站分类链接信息,提取分类层级数据并保存为CSV文件。当需要从电商网站分类链接中提取结构化数据时使用此技能。
openclaw skills install category-link-collector采集以下分类链接:
https://lulumonclick-eu.shop/collections/women-women-clothes-tank-tops
https://lulumonclick-eu.shop/collections/women-women-clothes-bras-underwear
/Users/zhangqirong/工作/caiji,可自定义lulumonclick-eu.shop.csv)生成的CSV文件包含以下列:
women-women-clothes-tank-tops)Women)Tank Tops)技能现在支持无限级分类提取:
/collections/ 后提取分类路径输入链接:
https://lulumonclick-eu.shop/collections/women-women-clothes-tank-tops
输出CSV行:
| 完整链接 | 分类路径 | 一级分类 | 二级分类 | 域名 |
|---|---|---|---|---|
| https://lulumonclick-eu.shop/collections/women-women-clothes-tank-tops | women-women-clothes-tank-tops | Women | Tank Tops | lulumonclick-eu.shop |
SKILL.mdscripts/collect_categories.pyconfig/settings.json (可选)后续可以扩展的功能: