brave-search

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Brave Search

Brave Search

Usage

使用方法

bash
uv run --script {thisSkillDir}/scripts/brave-search.py "QUERY" [OPTIONS] --json
bash
uv run --script {thisSkillDir}/scripts/brave-search.py "QUERY" [OPTIONS] --json

Options

选项

  • --count <N>
    : Maximum results to return (default: 5)
  • --offset <N>
    : Offset into the result set (default: 0)
  • --country <CODE>
    : Two letter country code
  • --search-lang <CODE>
    : Search language code
  • --safesearch <off|moderate|strict>
    : Safe search mode
  • --freshness <day|week|month>
    : Filter by recency
  • --json
    : Output normalized JSON
  • --raw
    : Output raw API response
  • --help
    : Show help
  • --count <N>
    :返回的最大结果数(默认值:5)
  • --offset <N>
    :结果集的偏移量(默认值:0)
  • --country <CODE>
    :两位字母的国家代码
  • --search-lang <CODE>
    :搜索语言代码
  • --safesearch <off|moderate|strict>
    :安全搜索模式
  • --freshness <day|week|month>
    :按时效性过滤结果
  • --json
    :输出标准化JSON格式
  • --raw
    :输出原始API响应内容
  • --help
    :显示帮助信息

Examples

示例

bash
uv run --script {thisSkillDir}/scripts/brave-search.py "observability tools" --count 3 --json
bash
uv run --script {thisSkillDir}/scripts/brave-search.py "observability tools" --count 3 --json