# Yahoo! Japan Searching Scraper

This template scrapes search results from Yahoo! Japan, extracting the title, link, and summary for each result.

- Template page: [https://www.octoparse.com/template/yahoo-japan-searching-scraper](https://www.octoparse.com/template/yahoo-japan-searching-scraper)
- Categories: Search Engine
- Status: `PUBLISHED`
- Run mode: `CLOUD`

## Pricing

Free.

## What is an Octoparse template?

An Octoparse template is a ready-to-use scraping workflow with predefined inputs and structured outputs. Use the exact parameter keys below; do not invent parameters.

## Overview

This ready-to-use template collects structured data from search-results pages.

## Output

The current workflow extracts 8 fields, including `ソース`, `ソースURL`, `リード文`, `取得日付`, `掲載日付`, `検索キーワード`, `検索結果タイトル`, `検索結果タイトルURL`.

## Use Cases

- Use structured results for research, comparison, and monitoring.
- Collect rows without building the extraction workflow from scratch.
- Combine results with other templates for downstream enrichment.
- Review a representative result before starting a large batch.

## Why Octoparse

- **No coding required:** complete keywords (up to 10,000) and start the template in cloud mode.
- **Flexible export:** review and export results as CSV, Excel, or JSON.

## Input

### keywords (up to 10,000)

Required. keywords (up to 10,000) Constraints: minItems=1; maxItems=10000; items.minLength=1; items.maxLength=100.

## How to Use

# Yahoo! Japan Searching Scraper

Scrapes search results from Yahoo! Japan, extracting the title, link, and summary for each result.

## Input

- **keywords** (up to 10,000) – required. Enter one value per line.

## How to Use

1. Open the template and select **Try it** or **Start**.
2. Enter your keywords in the input field.
3. Run the task in the cloud.
4. Review the returned rows and export or process the structured data.

Scheduling recurring runs and exporting via [Octoparse OpenAPI](https://www.octoparse.com/docs/en/api-reference/agenttools-api/search-templates) may require a paid Octoparse plan.

## Output

The template returns structured data including title, link, summary, and metadata fields (e.g., `取得日付`, `検索キーワード`, `ソース`, `ソースURL`, `検索結果タイトル`, `検索結果タイトルURL`, `リード文`, `掲載日付`, `Error`, `DebugPageURL`, `DebugPageTitle`, `DebugLinkCount`, `DebugBodyHead`).

## Limitations

- Only collects data displayed on Yahoo! Japan search results pages.
- Debug fields (`DebugPageTitle`, `DebugLinkCount`, `DebugBodyHead`) may be empty when the source record does not provide them.

## Tips

- Start with a few inputs and review the returned rows before scaling.
- Use specific, valid keywords (up to 10,000) to reduce unrelated results.
- Use `取得日付`, `検索キーワード`, `ソース`, `ソースURL`, `検索結果タイトル`, `検索結果タイトルURL`, `リード文`, `掲載日付`, `Error`, or `DebugPageURL` as a deduplication key.

## Pricing

This template currently has no per-line charge. Octoparse plan or resource limits may still apply.

## Limitations

Results depend on what the source site exposes at run time. Fields may be empty when a source page does not provide a value. The template enforces the input limits shown above.

## Tips

Use specific, valid inputs and review a representative result before starting a large batch. Remove duplicate inputs when repeated records are not needed.

## FAQ

### What do I need to enter?

Use the exact inputs and limits listed above.

### What data does this template return?

See Output Schema below; availability can vary by source record.

### How is usage billed?

See the Pricing section above for current pricing and billing details.

## Related Templates

- [Yahoo Japan News Comments Scraper](https://www.octoparse.com/template/yahoo-news-comments-scraper)
- [Yahoo Japan News Scraper](https://www.octoparse.com/template/yahoo-news-scraper)
- [Yahoo Finance Scraper (for Japan)](https://www.octoparse.com/template/yahoo-finance-scraper-for-japan)
- [Yodobashi Keyword Searching Scraper](https://www.octoparse.com/template/yodobashi-keyword-searching-scraper)
- [Yahoo Search Scraper](https://www.octoparse.com/template/yahoo-search-scraper)

## Input Schema

```json
{
  "title": "Yahoo! Japan Searching Scraper input",
  "description": "Input parameters configured for the current published template version.",
  "type": "object",
  "schemaVersion": 1,
  "additionalProperties": false,
  "properties": {
    "keywords": {
      "title": "keywords (up to 10,000)",
      "description": "keywords (up to 10,000)",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 100
      },
      "minItems": 1,
      "maxItems": 10000,
      "x-octoparse": {
        "apiEnabled": true
      }
    }
  },
  "required": [
    "keywords"
  ]
}
```

## Input JSON Example

Example 1

```json
{
  "keywords": [
    "肉じゃが 作り方 site:youtube.com/channel/",
    "生姜焼き レシピ site:youtube.com/channel/",
    "親子丼 作り方 site:youtube.com/channel/",
    "豚汁 作り方 site:youtube.com/channel/",
    "茶碗蒸し 作り方 site:youtube.com/channel/"
  ]
}
```

Example 2

```json
{
  "keywords": [
    "外壁塗装 営業 うざい 知恵袋",
    "ニチハ フュージェ 後悔",
    "雨漏り修理110番 評判",
    "外壁塗装 悪質業者リスト 大阪",
    "日本ペイント やばい"
  ]
}
```

Example 3

```json
{
  "keywords": [
    "人物画 描き方 site:youtube.com/channel/",
    "動物 イラスト 描き方 site:youtube.com/channel/",
    "背景 描き方 site:youtube.com/channel/",
    "塗り方 講座 site:youtube.com/channel/",
    "石膏デッサン site:youtube.com/channel/"
  ]
}
```

Example 4

```json
{
  "keywords": [
    "和食 レシピ site:youtube.com/channel/",
    "煮物 作り方 site:youtube.com/channel/",
    "魚 さばき方 site:youtube.com/channel/",
    "魚料理 レシピ site:youtube.com/channel/",
    "中華 レシピ site:youtube.com/channel/"
  ]
}
```

Example 5

```json
{
  "keywords": [
    "テレビ局 公式チャンネル site:youtube.com/channel/",
    "日本テレビ 番組 公式 site:youtube.com/channel/",
    "TBS 番組 公式 site:youtube.com/channel/",
    "TBS 公式 番組 site:youtube.com/channel/",
    "フジテレビ 番組 公式 site:youtube.com/channel/"
  ]
}
```


## Output Schema

```json
{
  "schemaVersion": 1,
  "type": "object",
  "properties": {
    "ソース": {
      "type": "string",
      "description": ""
    },
    "ソースURL": {
      "type": "string",
      "description": ""
    },
    "リード文": {
      "type": "string",
      "description": ""
    },
    "取得日付": {
      "type": "string",
      "description": ""
    },
    "掲載日付": {
      "type": "string",
      "description": ""
    },
    "検索キーワード": {
      "type": "string",
      "description": ""
    },
    "検索結果タイトル": {
      "type": "string",
      "description": ""
    },
    "検索結果タイトルURL": {
      "type": "string",
      "description": ""
    }
  },
  "title": "Yahoo! Japan Searching Scraper output",
  "description": "Initial output fields derived from the current published implementation. Field descriptions are maintained by Data Center; production field names and types should be refreshed from recent successful runs.",
  "additionalProperties": false
}
```

## Output Example

Example 1

```json
{
  "ソース": "youtube.com",
  "ソースURL": "https://www.youtube.com",
  "リード文": "【フライパンでできる】たけのこ茶碗蒸し#簡単レシピ #たけのこ #茶碗蒸し. 485 views. 7 days ago · 2:38 · 【包丁・まな板不要】レンジで作る巣ごもり卵 ...",
  "取得日付": "2026-10-31",
  "掲載日付": "6日前",
  "検索キーワード": "茶碗蒸し 作り方 site:youtube.com/channel/",
  "検索結果タイトル": "料理メイト@管理栄養士の知恵袋 - YouTube",
  "検索結果タイトルURL": "https://www.youtube.com/channel/UCs0j_TMhygN86H23g_EHzsA/videos"
}
```

Example 2

```json
{
  "ソース": "Yahoo!知恵袋",
  "ソースURL": "https://detail.chiebukuro.yahoo.co.jp",
  "リード文": "家の外壁塗装の訪問営業がうるさいです。する気はありません。相手をすぐ帰らせる言葉を教えてください。 兄が工務店だから業者は決まっている. ベストアンサー7票 「うち、塗装屋に勤めているんですよ～」 が一番効く 詳しく見る 6票 兄が工務店だから 業者は決まっている 詳しく見る 1票 貼り紙しとけば良いんじゃない？ 我が家は外壁塗装は一切しませんので ... 詳しく見る 外壁塗装営業の方のしつこい対応に困っています。 - Yahoo!知恵袋 2022年5月15日 最近、外壁塗装の訪問販売がしつこいです。出ないと帰らないので、... 2025年4月27日",
  "取得日付": "2026-10-30",
  "掲載日付": "2024/9/23",
  "検索キーワード": "外壁塗装 営業 うざい 知恵袋",
  "検索結果タイトル": "家の外壁塗装の訪問営業がうるさいです。する気はありません。相...",
  "検索結果タイトルURL": "https://detail.chiebukuro.yahoo.co.jp/qa/question_detail/q10304419560?__ysp=5aSW5aOB5aGX6KOFIOWWtualrSDjgYbjgZbjgYQg55%2Bl5oG16KKL"
}
```

Example 3

```json
{
  "ソース": "youtube.com",
  "ソースURL": "https://www.youtube.com",
  "リード文": "背景イラストレーターAri. @aribgillust. 33K subscribers•410 videos. ariの背景イラスト描き方動画をご覧下さりありがとうございます。 ... 【new】背景の描き方 · 23:50 ...",
  "取得日付": "2026-10-30",
  "掲載日付": "",
  "検索キーワード": "背景 描き方 site:youtube.com/channel/",
  "検索結果タイトル": "背景イラストレーターAri - YouTube",
  "検索結果タイトルURL": "https://www.youtube.com/channel/UCeuTmpWGiLBkn3j04cXFT5A"
}
```

Example 4

```json
{
  "ソース": "youtube.com",
  "ソースURL": "https://www.youtube.com",
  "リード文": "【イワシのさばき方】刺身がおいしい！大名おろしでさばいていくっ٩( ᐛ )و · 【イナダのさばき方】中型魚を捌いてみた！しゃぶしゃぶも美味しいよ_:(´ཀ`」 ∠): · 【メジナ ...",
  "取得日付": "2026-10-28",
  "掲載日付": "",
  "検索キーワード": "魚 さばき方 site:youtube.com/channel/",
  "検索結果タイトル": "うおとぴTV【魚のさばき方】 - YouTube",
  "検索結果タイトルURL": "https://www.youtube.com/channel/UCEwcm5rhuDR8eneH4AKAceA"
}
```

Example 5

```json
{
  "ソース": "youtube.com",
  "ソースURL": "https://www.youtube.com",
  "リード文": "2024年1月期シンドラ「先生さようなら」 · 日本テレビ月曜深夜ドラマ 「シンドラ」 (月)24:59スタート『先生さようなら』 渡辺翔太が連続ドラマ単独初主演！",
  "取得日付": "2026-10-27",
  "掲載日付": "2024年1月22日",
  "検索キーワード": "日本テレビ 番組 公式 site:youtube.com/channel/",
  "検索結果タイトル": "シンドラ公式チャンネル - YouTube",
  "検索結果タイトルURL": "https://www.youtube.com/channel/UCKRobtQAukJWamm98fw1D7Q"
}
```

## API

`POST https://openapi.octoparse.com/api/agentTools/executeTask`

This is the OpenAPI Agent Tools `executeTask` endpoint. Authenticate with a Bearer token.

Request body:

`templateName` is the template slug; `parameters` is a JSON object string whose keys match Input Schema; `taskName`, `idempotencyKey`, and `maxCollectedRows` are optional.

Obtain a token:

```http
POST https://openapi.octoparse.com/token
Content-Type: application/json

{
  "username": "YOUR_USERNAME",
  "password": "YOUR_PASSWORD",
  "grant_type": "password"
}
```

Use `data.access_token` as `Authorization: Bearer <token>`. After starting, poll `getTaskStatus` and export with `exportData`.

```json
{
  "templateName": "Yahoo-Japan-Searching-Scraper",
  "taskName": "Yahoo! Japan Searching Scraper",
  "parameters": "{\"keywords\":[\"肉じゃが 作り方 site:youtube.com/channel/\",\"生姜焼き レシピ site:youtube.com/channel/\",\"親子丼 作り方 site:youtube.com/channel/\",\"豚汁 作り方 site:youtube.com/channel/\",\"茶碗蒸し 作り方 site:youtube.com/channel/\"]}"
}
```

## Python Example

```python
import json
import requests

OPENAPI_BASE = "https://openapi.octoparse.com"
ACCESS_TOKEN = "YOUR_ACCESS_TOKEN"

parameters = json.loads("{\"keywords\":[\"肉じゃが 作り方 site:youtube.com/channel/\",\"生姜焼き レシピ site:youtube.com/channel/\",\"親子丼 作り方 site:youtube.com/channel/\",\"豚汁 作り方 site:youtube.com/channel/\",\"茶碗蒸し 作り方 site:youtube.com/channel/\"]}")

response = requests.post(
    f"{OPENAPI_BASE}/api/agentTools/executeTask",
    headers={
        "Authorization": f"Bearer {ACCESS_TOKEN}",
        "Content-Type": "application/json",
    },
    json={
        "templateName": "Yahoo-Japan-Searching-Scraper",
        "taskName": "Yahoo! Japan Searching Scraper",
        "parameters": json.dumps(parameters, ensure_ascii=False),
    },
    timeout=60,
)
print(response.status_code)
print(response.json())
```

## HTTP/cURL Example

```bash
curl -X POST "https://openapi.octoparse.com/api/agentTools/executeTask" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "templateName": "Yahoo-Japan-Searching-Scraper",
  "taskName": "Yahoo! Japan Searching Scraper",
  "parameters": "{\"keywords\":[\"肉じゃが 作り方 site:youtube.com/channel/\",\"生姜焼き レシピ site:youtube.com/channel/\",\"親子丼 作り方 site:youtube.com/channel/\",\"豚汁 作り方 site:youtube.com/channel/\",\"茶碗蒸し 作り方 site:youtube.com/channel/\"]}"
}
JSON
```

## MCP Setup

Connect an MCP-compatible AI client to `https://mcp.octoparse.com` using browser OAuth or an Octoparse API key. Find `Yahoo-Japan-Searching-Scraper`, inspect its inputs, create a cloud task with the exact Input Schema keys, and export JSON results.

## Machine-readable Resources

- [Template contract](https://www.octoparse.com/templates/yahoo-japan-searching-scraper.json)
- [Manifest](https://www.octoparse.com/templates/yahoo-japan-searching-scraper-manifest.json)
