ide-rea avatar

ide-rea

@ide-rea

baidu web search

Search the web using Baidu AI Search Engine (BDSE). Use for live information, documentation, or research topics.

v1.1.0 Recently Updated Updated Today

Installation

clawhub install baidu-search

Requires npm i -g clawhub

8.5k

Downloads

15

Stars

33

current installs

33 all-time

8

Versions

Baidu Search

Search the web via Baidu AI Search API.

Usage

python3 skills/baidu-search/scripts/search.py '<JSON>'

Request Parameters

Param Type Required Default Description
query str yes - Search query
edition str no standard standard (full) or lite (light)
resource_type_filter list[obj] no web:20, others:0 Resource types: web (max 50), video (max 10), image (max 30), aladdin (max 5)
search_filter obj no - Advanced filters (see below)
block_websites list[str] no - Sites to block, e.g. ["tieba.baidu.com"]
search_recency_filter str no - Time filter: week, month, semiyear, year
safe_search bool no false Enable strict content filtering

SearchFilter

Param Type Description
match.site list[str] Limit search to specific sites, e.g. ["baike.baidu.com"]
range.pageTime obj Date range for page_time field (see below)

Date Range Format

Fixed date: YYYY-MM-DD
Relative time (from current day): now-1w/d, now-1M/d, now-1y/d

Operator Meaning
gte Greater or equal (start)
lte Less or equal (end)

Examples

# Basic search
python3 skills/baidu-search/scripts/search.py '{"query":"人工智能"}'

# Filter by time and site
python3 skills/baidu-search/scripts/search.py '{
  "query":"最新新闻",
  "search_recency_filter":"week",
  "search_filter":{"match":{"site":["news.baidu.com"]}}
}'

# Resource type filter
python3 skills/baidu-search/scripts/search.py '{
  "query":"旅游景点",
  "resource_type_filter":[{"type":"web","top_k":20},{"type":"video","top_k":5}]
}'

Current Status

Fully functional.

Statistics

Downloads 8.5k
Stars 15
Current installs 33
All-time installs 33
Versions 8
Comments 9
Created Feb 5, 2026
Updated Feb 25, 2026

Latest Changes

v1.1.0 · Feb 13, 2026

- Added detailed usage instructions and request parameter documentation for the Baidu Search skill. - Described available filters, including resource type, advanced search, website blocking, and date ranges. - Provided example commands for common search tasks. - Outlined current capability: fully functional for live Baidu web, image, and video search.

Quick Install

clawhub install baidu-search
EU Made in Europe

Chat with 100+ AI Models in one App.

Use Claude, ChatGPT, Gemini alongside with EU-Hosted Models like Deepseek, GLM-5, Kimi K2.5 and many more.