Back to Registry View Author Profile
Official Verified
Ddgs
Skill by idkwhodatis
skill-install — Terminal
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/idkwhodatis/ddgsOr
DDGS Web Search Skill
This skill implements web search functionality via the DDGS (Dux Distributed Global Search) engine, aggregating results from diverse search services to fetch real-time information.
Features
🔍 Privacy-friendly metasearch
📰 News search support
🖼️ Image search support
📹 Video search support
📚 Books search support
🌐 Free to use, no API Key required
🔒 Privacy protection, no user tracking
⚡ MCP (Model Context Protocol) and API server support
Installation
# Install via uv (Recommended)
uv pip install ddgs
# Or install via pip
pip install ddgs
Quick Start
1. Text Search
The most commonly used search method, returning webpage results:
python -c "
from ddgs import DDGS
query = 'your search query'
results = DDGS().text(
query,
region='wt-wt', # Region: cn-zh (China), us-en (US), wt-wt (Global)
safesearch='moderate', # Safe search: on, moderate, off
timelimit='m', # Time range: d (day), w (week), m (month), y (year), None (unlimited)
max_results=10, # Maximum number of results
backend='auto' # Backends: auto, duckduckgo, brave, bing, etc.
)
for i, r in enumerate(results, 1):
print(f\"{i}. {r.get('title')}\")
print(f\" URL: {r.get('href')}\")
print(f\" Snippet: {str(r.get('body'))[:100]}...\n\")
"
2. News Search
Search for the latest news:
python -c "
from ddgs import DDGS
results = DDGS().news(
'AI technology',
region='wt-wt',
safesearch='moderate',
timelimit='d', # d=past 24 hours, w=past week, m=past month
max_results=10
)
for r in results:
print(f\"📰 {r.get('title')}\")
print(f\" Source: {r.get('source')}\")
print(f\" Date: {r.get('date')}\")
print(f\" Link: {r.get('url')}\n\")
"
3. Image Search
Search for image resources:
python -c "
from ddgs import DDGS
results = DDGS().images(
'cute cats',
region='wt-wt',
safesearch='moderate',
size='Medium', # Small, Medium, Large, Wallpaper
type_image='photo', # photo, clipart, gif, transparent, line
layout='Square', # Square, Tall, Wide
max_results=10
)
for r in results:
print(f\"🖼️ {r.get('title')}\")
print(f\" Image: {r.get('image')}\")
print(f\" Thumbnail: {r.get('thumbnail')}\")
print(f\" Source: {r.get('source')}\n\")
"
4.
Metadata
AI Skill Finder
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skill Add to Configuration
Paste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-idkwhodatis-ddgs": {
"enabled": true,
"auto_update": true
}
}
}Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.