360 Secure SkillHub
360 安全技能中心

Willhaben CLI

封装 whcli 命令行工具,用于检索奥地利最大分类广告平台 willhaben.at 的在售商品:可按分类、价格区间、成色、地点、PayLivery 等条件筛选,结果支持 table/JSON/CSV 输出,也可按 ID 查看商品详情和卖家资料评分。需先通过 Homebrew 或源码(uv)安装 whcli 二进制;暂无 OAuth 登录,show 命令存在已知 bug。

pasogott
pasogott
热度 78.40
最近更新 2026-05-11 15:48:53
分类:搜索依赖:代码执行 / 第三方 API应用场景:购物 / 推荐

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add whcli
Metadata
name
whcli
description
Willhaben CLI for searching Austria's largest classifieds marketplace. Search listings, view details, check seller profiles.
homepage
https://github.com/pasogott/whcli
metadata
{"clawdis":{"emoji":"🏠","requires":{"bins":["whcli"]},"install":[{"id":"brew","kind":"brew","formula":"pasogott/tap/whcli","bins":["whcli"],"label":"Install whcli (Homebrew)"},{"id":"source","kind":"shell","command":"git clone https://github.com/pasogott/whcli.git && cd whcli && uv sync","label":"Install from source (uv)"}]}}

whcli - Willhaben CLI 🏠

Search and browse willhaben.at, Austria's largest classifieds marketplace from the command line.

Installation

Homebrew (recommended)

brew install pasogott/tap/whcli

From source (with uv)

git clone https://github.com/pasogott/whcli.git
cd whcli
uv sync
uv run whcli --help

Commands

Search

# Basic search
whcli search "iphone 15"

# With filters
whcli search "rtx 4090" --category grafikkarten --max-price 1500

# Location filter
whcli search "bicycle" -l Wien -n 20

# Only PayLivery (buyer protection)
whcli search "playstation" --paylivery

# Output as JSON for scripting
whcli search "laptop" --format json

Options:

Option Short Description
--category -c Category slug (grafikkarten, smartphones, etc.)
--min-price Minimum price in EUR
--max-price Maximum price in EUR
--condition neu, gebraucht, defekt, neuwertig
--location -l Location/region filter
--rows -n Number of results (default: 30)
--page -p Page number
--paylivery Only PayLivery listings
--format -f table, json, csv

Show Listing Details

# View listing by ID
whcli show 1993072190

# JSON output
whcli show 1993072190 --format json

Seller Profile

# View seller profile and ratings
whcli seller 29159134

Examples

# Find cheap iPhones in Vienna
whcli search "iphone" -l Wien --max-price 500

# Graphics cards under €1000
whcli search "grafikkarte" --category grafikkarten --max-price 1000

# New condition only
whcli search "ps5" --condition neu

# Export search results as CSV
whcli search "furniture" -l "1220" -n 50 --format csv > results.csv

Common Categories

  • grafikkarten - Graphics cards
  • smartphones - Phones
  • notebooks-laptops - Laptops
  • spielkonsolen - Gaming consoles
  • fahrraeder - Bicycles
  • moebel - Furniture

Known Limitations

  • ⚠️ show command has a bug (being fixed)
  • Location filter works but may include nearby regions
  • No OAuth login yet (messaging/watching not available)

Links