← 返回
数据分析 Key 中文

Travel Information and News

Search and aggregate travel news, information, and reviews from multiple sources. Designed for travel planning professionals, travel agents, tour operators,...
搜索并聚合多源旅游新闻、资讯与评价。专为旅行规划专业人士、旅行社及旅游运营商设计。
nhzallen
数据分析 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 476
下载
💾 26
安装
1
版本
#exhibition#information#latest#news#review#search#tavily#tourism#travel

概述

Travel Information and News

Aggregates travel news, destination info, and reviews from multiple sources.

⚠️ CRITICAL RULE: Output language MUST match the user's query language. If the user writes in Chinese, ALL output (titles, content, summaries) must be in Chinese. If in Japanese, output in Japanese. Never return raw English results when the query is in another language.

Quick Start

# Required: TAVILY_API_KEY in env or ~/.openclaw/.env
# Optional: BRAVE_API_KEY for Brave Search fallback

python scripts/search.py --query "Tokyo travel March 2026" --format text
python scripts/search.py --query "京都賞櫻推薦" --format pdf --output result.pdf
python scripts/search.py --query "Bali hotel reviews" --format docx --output result.docx

Search Sources

SourceRequiredWhen Used
-----------------------------
Tavily✅ YesPrimary search for all queries
Brave Search❌ NoFallback when Tavily results insufficient
Browser (Xvfb+Chromium+Puppeteer)❌ NoSites Tavily/Brave can't reach (Xiaohongshu, X/Twitter, etc.)

Installing Optional Sources

Brave Search: Set BRAVE_API_KEY env var.

Browser suite (三件套): Requires three components working together:

  • Xvfb — Virtual framebuffer (provides a fake display for Chromium, default: 1200x720x24)
  • Chromium — Browser engine
  • Puppeteer (Node.js) — Controls Chromium programmatically

Why not headless mode? Some websites block headless browsers. Running Chromium on a virtual display (Xvfb) makes it appear as a real browser, bypassing most detection.

Note: For advanced interactions requiring simulated clicking (e.g., navigating paginated results, clicking "load more" buttons), install the desktop-control skill from ClawHub:

npx clawhub install desktop-control

Installation:

# Xvfb + Chromium
apt-get install -y xvfb chromium

# Puppeteer
npm install puppeteer

Parameters

All parameters can be customized. Defaults are provided.

ParameterDefaultDescription
---------------------------------
queryrequiredSearch query in any language
time_rangepmTime filter: pd(24h), pw(week), pm(month), py(year), or custom
regionALLRegion code: ALL, US, CN, JP, TW, etc.
max_resultsunlimitedLimit number of results (0 = unlimited)
formattextOutput format: text, docx, pdf
outputstdoutOutput file path
use_bravefalseEnable Brave Search fallback
use_browserfalseEnable browser scraping for blocked sites
no_reviewsfalseDisable review aggregation (reviews ON by default)
languageautoOutput language (auto = follow query language)

Output Formats

  • text — Plain text summary to stdout
  • docx — Word document with structured sections
  • pdf — PDF with Noto Sans SC font (supports CJK)

Review Sources

When reviews are requested, the skill attempts to aggregate ratings from:

  • TripAdvisor (via browser scraping)
  • Google Maps / Google Reviews (via browser scraping)

Workflow

  1. Receive user query
  2. Detect query language — output MUST match this language unless user specifies otherwise
  3. Search Tavily with query + parameters
  4. If results insufficient → optionally try Brave Search
  5. If specific sites blocked → optionally use browser suite
  6. If reviews requested → aggregate ratings
  7. Compile and deduplicate results
  8. Translate all results to detected/specified language (critical: query language ≠ result language)
  9. Format output (text / docx / pdf)

Limits

  • Browser suite requires ~512MB RAM for Xvfb + Chromium
  • Review scraping depends on site structure (may break if sites change)
  • Rate limits apply to Tavily and Brave APIs

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-19 16:33 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Virtual Desktop Browser

nhzallen
在 Xvfb 虚拟显示(固定 1200x720x24)中以非无头模式启动 Chromium,通过拟人化的鼠标、键盘和截图操作实现自动化。
★ 0 📥 652
data-analysis

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 165 📥 60,008
data-analysis

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 368 📥 140,456