Skip to content
Back to skills

Duckduckgo Search Scraper Cli

ASecurity

DuckDuckGo HTML search scraper CLI with JSON, CSV, OpenSearch, markdown, and compact outputs.

  • 37 stars
  • 0 votes
  • 0 copies
  • 9 views
  • Added September 19, 2026
ai-agentsgobashapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 19, 2026

npx -y skills add rondoflow/rondoflow --skill duckduckgo-search-scraper-cli --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Duckduckgo Search Scraper Cli?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Duckduckgo Search Scraper Cli
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/rondoflow-duckduckgo-search-scraper-cli/badge)](https://www.skillsdirectory.com/skills/rondoflow-duckduckgo-search-scraper-cli)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: duckduckgo-search-scraper-cli
description: "DuckDuckGo HTML search scraper CLI with JSON, CSV, OpenSearch, markdown, and compact outputs."
category: "Web & Scraping"
author: community
version: "2026.2.15"
icon: globe
---

# ddg-search

Search DuckDuckGo from the command line. Results go to stdout; progress goes to stderr.

## Quick reference

```bash
ddg-search "query"                          # default: JSON, 5 pages
ddg-search -f compact "query"               # minimal-token output (best for LLM context)
ddg-search -f jsonl "query"                 # one JSON object per line
ddg-search -n 10 "query"                    # stop after 10 results
ddg-search -p 2 -f json "query"             # 2 pages, JSON
ddg-search -r us-en -t w "recent topic"     # US-English, past week
ddg-search -p 0 "query"                     # unlimited pages (scrape all)
```

## Options

| Flag | Long | Description | Default |
|------|------|-------------|---------|
| `-f` | `--format` | Output format: `json`, `jsonl`, `csv`, `opensearch`, `markdown`, `compact` | `json` |
| `-p` | `--pages` | Max pages to scrape (0 = unlimited) | `5` |
| `-n` | `--max-results` | Stop after this many results | all |
| `-r` | `--region` | Region code (e.g. `us-en`, `uk-en`) | all regions |
| `-t` | `--time` | Time filter: `d` (day), `w` (week), `m` (month), `y` (year) | none |

## Choosing a format

- **`compact`**: Use for feeding results into an LLM. Minimal tokens, no JSON overhead.
- **`jsonl`**: Use when piping to line-oriented tools or streaming processors.
- **`json`**: Use when you need structured data with OpenSearch metadata, zero-click answers, and spelling corrections. Pipe through `jq` for field extraction (e.g. `| jq '.items[].link'`).
- **`csv`**: Use for spreadsheets or tabular analysis.
- **`markdown`**: Use for human-readable output or embedding in documents.
- **`opensearch`**: Use when producing Atom XML feeds.

## Extracting URLs from JSON output

```bash
ddg-search "query" | jq -r '.items[].link'
```

## Notes

- DuckDuckGo may trigger bot detection. The tool stops early and returns whatever results were collected.
- Random delays (800–2900 ms) are inserted between page fetches automatically.
- Progress messages appear on stderr, so redirecting stdout captures only results.

Files in this skill

  • SKILL.md2.2 KB
  • manifest.json320 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.