Choi Jiheon

Naver news Search

知識管理v1.0.2
作者:Choi Jiheon更新於 2026-05-11共 3 個版本 · 最新版本釋出於 2026-01-31naver-news@clawhub_steamb23/naver-news
資訊檢索#News

據 AlphaMoat 統計,截至 2026-09,Naver news Search 累計下載 3,864 次、獲 3 個星標,在全部 5,078 個 AI 技能中排名第 2,699 位,在「知識管理」分類(442 個)中排名第 247 位。

累計安裝
228
累計下載
3864
星標
3
全站排名
#2,699
全站前 54% · 「知識管理」前 56%
平台累計安裝累計下載星標評論
ClawHub ↗12637083-
SkillHub ↗22838643—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

透過 Naver Search API 搜尋韓文新聞,可按相關性或日期排序,並用於主題檢索、新聞追蹤和摘要準備。搜尋詞和 API 憑據會傳送給 Naver;避免提交敏感查詢內容,並妥善保管憑據。結果中的摘要可能不完整或過時,重要資訊應回到原文連結核對。

資料釋出於 2026-10-27

可以用來做什麼

  • 搜尋有關特定主題的韓文新聞
  • 按日期或相關性篩選新聞結果

什麼時候用

  • 需要檢索或追蹤韓國新聞時
  • 需要確認搜尋詞外發並核驗文章原文時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

搜尋有關該主題的近期韓文報道,附上原文連結並核對重要事實。

月度資料趨勢

累計下載3864
2866340239382026-03 · 累計下載 29402026-05 · 累計下載 32672026-06 · 累計下載 33642026-07 · 累計下載 35622026-08 · 累計下載 36282026-09 · 累計下載 386426-0326-09
星標3
2342026-03 · 星標 32026-05 · 星標 32026-06 · 星標 32026-07 · 星標 32026-08 · 星標 32026-09 · 星標 326-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-093864—3
2026-083628+1.9%3
2026-073562+5.9%3
2026-063364+3.0%3
2026-053267—3
2026-032940—3

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

4.0 KB · ClawHub v1.0.2
---
name: naver-news
description: Search Korean news articles using Naver Search API. Use when searching for Korean news, getting latest news updates, finding news about specific topics, or preparing daily news summaries. Supports relevance and date-based sorting.
homepage: https://developers.naver.com/docs/serviceapi/search/news/news.md
metadata: {"openclaw":{"emoji":"📰","requires":{"bins":["python3"],"env":["NAVER_CLIENT_ID","NAVER_CLIENT_SECRET"]}}}
---

# Naver News Search

Search Korean news articles using the Naver Search API.
展開全部(共 133 行)
## Quick Start

Use the provided script to search news:

```bash
python scripts/search_news.py "검색어" --display 10 --sort date
```

Options:
- `--display N`: Number of results per page (1-100, default: 10)
- `--start N`: Start position for pagination (1-1000, default: 1)
- `--sort sim|date`: Sort by relevance (sim) or date (date, default: date)
- `--after DATETIME`: Only show news published after this time (ISO 8601 format, e.g., `2026-01-29T09:00:00+09:00`)
- `--min-results N`: Minimum number of results to fetch (enables auto-pagination)
- `--max-pages N`: Maximum number of pages to try when auto-paginating (default: 5)
- `--json`: Output raw JSON instead of formatted text

## Setup

### Environment Variables

Required credentials from https://developers.naver.com/:

```bash
NAVER_CLIENT_ID=your_client_id
NAVER_CLIENT_SECRET=your_client_secret
```

**Configuration locations:**
- **Sandbox (default):** Add to `agents.defaults.sandbox.docker.env` in OpenClaw config
- **Host:** Add to `env.vars` in OpenClaw config

### Getting API Credentials

1. Visit https://developers.naver.com/
2. Register an application
3. Enable "검색" (Search) API
4. Copy Client ID and Client Secret
5. Add credentials to appropriate config section (see above)

## Common Use Cases

### Latest news on a topic

```bash
python scripts/search_news.py "AI 인공지능" --display 20 --sort date
```

### Search with relevance ranking

```bash
python scripts/search_news.py "삼성전자" --sort sim
```

### Filter by time (only recent news)

```bash
# News published after 9 AM today
python scripts/search_news.py "경제" --display 50 --sort sim --after "2026-01-29T09:00:00+09:00"

# News from the last hour (programmatic use)
python scripts/search_news.py "속보" --after "$(date -u -d '1 hour ago' '+%Y-%m-%dT%H:%M:%S%z')"
```

### Auto-pagination for guaranteed minimum results

```bash
# Fetch at least 30 results (automatically requests multiple pages if needed)
python scripts/search_news.py "AI" --sort sim --after "2026-01-29T09:00:00+09:00" --min-results 30 --display 50

# Limit to 3 pages maximum
python scripts/search_news.py "게임" --min-results 50 --max-pages 3
```

**How auto-pagination works:**
1. Fetches first page (e.g., 50 results)
2. Applies date filter (e.g., 10 results remain)
3. If below `--min-results`, automatically fetches next page
4. Stops when minimum is reached or `--max-pages` limit hit

### Pagination for more results

```bash
# First 10 results
python scripts/search_news.py "경제" --display 10 --start 1

# Next 10 results
python scripts/search_news.py "경제" --display 10 --start 11
```

## Using in Python Code

Import and use the search function directly:

```python
from scripts.search_news import search_news

result = search_news(
    query="경제 뉴스",
    display=10,
    sort="date"
)

for item in result["items"]:
    print(item["title"])
    print(item["description"])
    print(item["link"])
```

## API Details

For complete API reference including response structure, error codes, and rate limits, see:

**[references/api.md](references/api.md)**

## Notes

- Search queries must be UTF-8 encoded
- Results include `<b>` tags around search term matches (strip them for clean text)
- Daily limit: 25,000 API calls per application
- `link` field may point to Naver News or original source depending on availability

「知識管理」分類下的熱門技能

資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。