goofish-search-list
它能做什么
它按关键词搜索 Goofish 二手商品,可按排序方式以及价格或发布日期进行筛选,并逐页返回商品卡片。适用于跟踪中国二手商品的转售者和研究人员。
适用场景
- ✓当转售者想查看 Goofish 上某个关键词的二手商品时。
- ✓当研究人员想比较 Goofish 上二手商品的价格时。
- ✓当买家想按价格或发布日期排序查看商品时。
技能链接
https://github.com/browser-act/skills/blob/main/solutions/ecommerce/goofish-search-list/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请在 Goofish 上搜索二手机械键盘,并列出第一页的价格、所在地和想要人数。”
每周 5 个新技能,1 分钟读完。
工作原理
该技能检查登录状态,按所选筛选条件打开该关键词的搜索页面,并读取所请求页面上的商品卡片。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Goofish (闲鱼) — Search Results List
keyword + optional filters → list of 30 second-hand item cards per page (id, title, price, image, location, want-count)
Language
All process output to user (progress updates, process notifications) follows the user's language.
Objective
Extract second-hand item listing cards from Goofish keyword search results, supporting sort options, price range filters, and publish-date filters, with page-by-page pagination.
Prerequisites
- Browser with an active Goofish session (logged-in account recommended for full results)
- Target page is already open or will be opened:
https://www.goofish.com/search?q={keyword}
Pre-execution Checks
1. Tool Readiness
If browser-act has been confirmed available in the current session → skip this step.
Invoke browser-act via Skill tool to load usage. If installation or configuration issues arise, follow its guidance to resolve then retry.
2. Login Verification
If login status for Goofish has been confirmed in the current session → skip this step.
Otherwise: open https://www.goofish.com/ and observe the page:
- User avatar or account entry exists → logged in, continue
- Login/register prompt → not logged in; inform user that login may be required for full results; assist login if needed
Capability Components
This Skill's operational boundary = what the user can manually do in their browser. It only reads data already displayed to the user on the page. JS code is encapsulated in Python files under the
scripts/directory, invoked viaeval "$(python scripts/xxx.py {params})".$(...)is bash syntax; it is recommended to use the bash tool for execution.
Network Capture: trigger search and load results
Search requests use a dynamic sign token computed client-side — they cannot be reconstructed directly. Navigate to the search URL to trigger the API automatically.
navigate https://www.goofish.com/search?q={keyword}wait stable- Proceed to DOM extraction below
Error handling: If the page shows a CAPTCHA slider ("Please slide to verify") instead of search results, the session has been rate-limited. Wait 5–10 minutes before retrying, or switch to a fresh browser session.
DOM: search result item cards (data extraction)
After navigating and waiting stable, extract all 30 item cards on the current page:
eval "$(python scripts/extract-search-items.py)"
Output example:
{
"items": [
{
"item_id": "1054668718340", // unique item ID
"category_id": "126862528", // category ID
"item_url": "https://www.goofish.com/item?id=1054668718340&categoryId=126862528",
"title": "美版iPhone 14 国行256G 纯原 原版原漆", // full title text
"image_url": "https://img.alicdn.com/bao/uploaded/...", // thumbnail URL
"price": "1810", // numeric string, CNY, no ¥ sign
"service_tag": "Apple/苹果256GB无任何维修", // condition/attribute tag or recency label, null if absent
"price_desc": "2人想要", // want-count or price-drop info, null if absent
"location": "广东" // seller's location province/city
}
],
"count": 30
}
DOM: apply sort and filter options (operation)
Apply sort order, publish-date filter, or price range before extracting. Call before running extract-search-items.py. After calling, wait stable before extracting.
eval "$(python scripts/apply-search-filters.py --sort {sort} --publish-days {days} --price-min {min} --price-max {max})"
Parameters:
--sort: Sort option —""default (综合),"reduce"price-drop (新降价),"create"newest (新发布),"price-asc"price low-to-high,"price-desc"price high-to-low. Default:""--publish-days: Filter by publish date —""all,"1"within 1 day,"3"within 3 days,"7"within 7 days,"14"within 14 days. Default:""--price-min: Minimum price (CNY integer string, e.g.,"500"). Requires--price-max. Default:""--price-max: Maximum price (CNY integer string, e.g.,"3000"). Requires--price-min. Default:""
Output example:
{
"ok": true,
"applied": {
"sort": "reduce:desc",
"searchFilter": "publishDays:7;priceRange:500,3000;"
}
}
DOM: navigate to a specific page (operation)
eval "$(python scripts/goto-page.py {page_number})"
Parameters:
page_number: Target page number (integer, 1-based)
Output example:
{ "ok": true, "clicked_page": 2 }
After clicking, `wa
常见问题
它需要登录吗?
为获得完整结果,建议使用已登录的会话,该技能会检查这一点。
每页有多少件商品?
该技能说明,每个结果页有三十件商品。
可以使用哪些筛选条件?
它支持排序选项、价格区间以及发布日期筛选。
详情
作者的原始描述
Scrapes second-hand item search results from Goofish (闲鱼/xianyu, goofish.com) — China's largest second-hand marketplace. Input: keyword, optional sort/filter params. Output: list of items with id, title, price, image, location, want-count per page (30 items/page). Use when user mentions goofish, 闲鱼, xianyu, 二手交易, second-hand marketplace China, 二手商品搜索, search used goods, scrape goofish listings, xianyu search results, collect second-hand prices, monitor used item prices, 闲鱼关键词搜索, 闲鱼数据采集, 批量抓取闲鱼, goofish scraper, goofish data, xianyu data extraction, 二手商品价格监控, used iPhone prices, 二手手机价格. Also ap
repo: browser-act/skills
热度
- GitHub 星标
- 6.3k
- 排名
- #14273
- 许可证
- MIT
- 更新时间
- 2026/8/24
评论
- …
同一仓库的更多技能
browser-act-skill-forge
6.3k帮你的智能体探索一次网站,并保存一个带脚本的可复用技能,使之后从该网站提取数据更快。
browser-act
6.3k帮你的智能体运行浏览器自动化工具,打开页面、读取渲染后的内容、填写表单、截图,并管理已登录的会话。
1688-product-detail
6.3k帮你的智能体从 1688.com 批发页面提取商品详情,例如价格阶梯、规格变体、卖家统计数据和属性。
airbnb-listing-detail
6.3k帮你的智能体根据 ID 获取 Airbnb 房源的公开详情,例如照片、设施、评分和房屋规则。