Search Cluster

👤 1999azzar 📦 v3.5.1 ⭐ 4.2 ⬇️ 2.3K 下载
📚 知识管理 免费 🔑 需 API Key

📖 技能介绍


name: search-cluster description: Aggregated search aggregator using Google CSE, GNews RSS, Wikipedia, Reddit, and Scrapling.


Search Cluster (Industrial Standard v3.1)

A multi-provider search aggregator designed for high-availability and security.

Installation

The scrapling provider requires a dedicated virtual environment. 1. Create a venv: python3 -m venv venv/scrapling 2. Install scrapling: venv/scrapling/bin/pip install scrapling 3. Provide the path to the venv binary in SCRAPLING_PYTHON_PATH.

Security Posture

小葱技能站7w4.net发现了升级插件。

  • Subprocess Isolation: Query inputs are passed as arguments to stealth_fetch.py.
  • Strict TLS: Mandatory SSL verification on all providers.
  • Sanitization: Integrated native internal scrubber (Path Neutral).

Requirements and Environment

Declare these variables in your environment or vault:

Variable Requirement Description
GOOGLE_API_KEY Optional API Key for Google Custom Search.
GOOGLE_CSE_ID Optional Search Engine ID for Google CSE.
SCRAPLING_PYTHON_PATH Optional Path to the scrapling venv python binary.
REDIS_HOST Optional Host for result caching.
REDIS_PORT Optional Port for result caching (Default: 6379).
SEARCH_USER_AGENT Optional Custom User-Agent string.

Providers

  • google: Official Google Custom Search.
  • wiki: Wikipedia OpenSearch API.
  • reddit: Reddit JSON search API.
  • gnews: Google News RSS aggregator.
  • scrapling: Headless stealth scraping (via DuckDuckGo).

Included Scripts

  • scripts/search-cluster.py: Main entry point.
  • scripts/stealth_fetch.py: Scrapling fetcher (REQUIRED for scrapling provider).

Workflow

  1. Execute: scripts/search-cluster.py all ""
  2. Output is structured JSON with source, title, link, and sanitized snippet.

🤖 AI 评测

这是一个质量较高的搜索工具,优点是功能丰富、文档详细、安全防护做得不错,多个搜索源并发查询速度快。缺点是安装配置稍复杂,特别是需要单独配置虚拟环境才能使用爬虫功能,另外错误提示不够友好,出问题时用户可能摸不着头脑。总体而言适合有技术基础的用户,普通用户需要一定学习成本。

📊 多维度评分

适应性4.3
规范性4
有效性4.5
可靠性3.9
可信度4.3

📁 包含文件 (6 个)

📄 SKILL.md 1.8 KB
📄 _meta.json 133 B
📄 references/search-apis.md 982 B
📄 search-cluster.py 7.1 KB
📄 skill.json 964 B
📄 stealth_fetch.py 914 B