mirror of
https://github.com/jackwener/OpenCLI.git
synced 2026-09-14 18:25:42 +08:00
0ce46b15bb
* feat:add xianyu feat:add xianyu feat:add xianyu * chore:add xianyu docs * fix:update xianyu after review --------- Co-authored-by: 刘启灏 <liuqihao@liuqihaodeMacBook-Pro.local>
1.3 KiB
1.3 KiB
Xianyu (闲鱼)
Mode: 🔐 Browser · Domain: goofish.com
Commands
| Command | Description |
|---|---|
opencli xianyu search <query> |
Search Xianyu items by keyword and return item cards with item_id |
opencli xianyu item <item_id> |
Fetch item details including title, price, condition, brand, seller, and image URLs |
opencli xianyu chat <item_id> <user_id> |
Open a Xianyu chat session for the item/user pair and optionally send a message with --text |
Usage Examples
# Search items
opencli xianyu search "macbook" --limit 5
# Read a single item's details
opencli xianyu item 1040754408976
# Open a chat session
opencli xianyu chat 1038951278192 3650092411
# Send a message in chat
opencli xianyu chat 1038951278192 3650092411 --text "你好,这个还在吗?"
# JSON output
opencli xianyu search "笔记本电脑" -f json
opencli xianyu item 1040754408976 -f json
Prerequisites
- Chrome running and logged into
goofish.com - Browser Bridge extension installed
Notes
searchreturnsitem_id, which can be passed directly intoopencli xianyu itemchatrequires both the item ID and the target user'suser_id/peerUserId- Browser-authenticated commands depend on the active Chrome login session remaining valid