Reddit Keyword Search API
通过JustOneAPI调用Reddit关键词搜索接口,获取相关帖子数据。
下载 12
基于 DuckDuckGo 实现无密钥网页搜索与内容提取,支持自动触发。
openclaw skills install @mengbin92/ddg-search-fetch命令、参数、文件名以原文为准
使用 DuckDuckGo 进行网络搜索并获取网页内容(无需 API 密钥)。
需要安装依赖:
pip3 install duckduckgo-searchpython3 scripts/ddg_search.py "您的搜索关键词" [--max-results 10]python3 scripts/ddg_fetch.py "https://example.com" [--timeout 30]# 基础搜索
python3 scripts/ddg_search.py "OpenClaw AI agent"
# 获取更多结果
python3 scripts/ddg_search.py "Python 最佳实践" --max-results 15# 抓取网页内容
python3 scripts/ddg_fetch.py "https://openclaw.ai"
# 自定义超时时间
python3 scripts/ddg_fetch.py "https://example.com" --timeout 15
# 输出纯文本
python3 scripts/ddg_fetch.py "https://example.com" --format text{
"query": "搜索关键词",
"count": 10,
"results": [
{
"title": "结果标题",
"url": "https://example.com",
"snippet": "描述摘要"
}
]
}{
"url": "https://example.com",
"title": "页面标题",
"text": "提取的可读内容...",
"description": "元描述",
"status_code": 200,
"error": null
}示例工作流
# 搜索
result = exec({
"command": "python3 /path/to/skills/duckduckgo-search/scripts/ddg_search.py query"
})
# 解析:json.loads(result.stdout)
# 抓取 URL
result = exec({
"command": "python3 /path/to/skills/duckduckgo-search/scripts/ddg_fetch.py https://example.com"
})
# 解析:json.loads(result.stdout)已收录 1 个 Skill