Files
nexus/wiki/concepts/Web-Search-Aggregation.md

1.3 KiB
Raw Blame History

title, type, tags
title type tags
Web Search Aggregation concept

Definition

网页搜索聚合模式——通过搜索 API 主动获取特定主题的最新网页结果,补充无 RSS/无 API 的信息源,实现更全面的内容覆盖。

Key Providers

提供方 API 特点
Brave Search Brave Search API 注重隐私,搜索结果质量高
Google Custom Search Google Programmable Search 覆盖最广
DuckDuckGo 非官方 API 免费但不稳定
SerpAPI 聚合多平台 付费,支持 Google/Bing/Yandex

Environment Variables

  • BRAVE_API_KEY — Brave Search API 密钥

Use Cases

  • multi-source-tech-news-digest — 通过 Brave Search API 执行 4 个主题的主动搜索,覆盖无 RSS 来源的科技新闻
  • 补充特定领域的深度搜索需求

Design Pattern

[定时触发] → [主题搜索查询列表] → [Brave Search API] → [结果解析] → [评分去重] → [简报投递]