360 Secure SkillHub
360 安全技能中心

Baidu Search (Free)

这是一款无需API密钥的免费百度网页搜索工具,开箱即用。支持中英搜索,可按1天/周/月/年或自定义日期范围筛选结果,最多返回50条,自带反爬重试机制。输出含标题、摘要、真实URL及发布时间,适合获取中文资讯、时效性内容,通过Python脚本传入参数JSON调用,云服务器使用可能需代理。

guoxh
guoxh
热度 58.62
最近更新 2026-05-11 17:43:33
分类:搜索依赖:代码执行 / 联网浏览搜索应用场景:研究

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add baidu-search-free
Metadata
name
baidu-search-free
description
Free Baidu web search, no API key required, supports time range filtering
author
OpenClaw Community
version
1.0.1
license
MIT
tags
["search","baidu","free","web-search","chinese"]
metadata
{"openclaw":{"emoji":"🔍","requires":{"bins":["python3"]}}}

Baidu Search (Free)

Free Baidu web search tool, no API key or authentication required, ready to use out of box.

Features

✅ No API key required, completely free ✅ Supports Chinese/English search queries ✅ Time range filtering: 1 day/1 week/1 month/1 year/custom date range ✅ Customizable result count (up to 50 results) ✅ Automatic anti-scraping handling with retry mechanism ✅ Returns title, snippet, real URL, and publish time

Usage

python scripts/search.py '{"query": "your search keywords", "count": 10, "freshness": "pd/pw/pm/py/YYYY-MM-DDtoYYYY-MM-DD"}'

⚠️ Note: If you encounter anti-scraping verification errors, this is likely due to Baidu blocking your server's IP. This is a known limitation when scraping Baidu from cloud servers. Consider using a proxy or VPN if needed.

Parameters

Parameter Type Required Default Description
query string yes - Search keywords
count int no 10 Number of results to return, max 50
freshness string no null Time range filter: pd(past 24h), pw(past week), pm(past month), py(past year), or custom date range in format YYYY-MM-DDtoYYYY-MM-DD

Example

python scripts/search.py '{"query": "Linzhi Tibet travel guide", "count": 3, "freshness": "pm"}'