# Yahoo Spain Search Scraper

Scrape search results information (Key_word, Page_Number, Source, Result_Title, Result_URL, Description) from Yahoo by keyword

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

## 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 6 fields, including `Descripción`, `Fuente`, `Número_de_página`, `Palabra_clave`, `Resultado_URL`, `Título_de_resultado`.

## 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 100） and start the template in local or cloud mode.
- **Flexible export:** review and export results as CSV, Excel, or JSON.

## Input

### Keywords（up to 100）

Required. Keywords Constraints: minItems=1; maxItems=100.

## How to Use

# Yahoo Spain Search Scraper

Collects Yahoo search results by keyword. Returns structured rows containing:

- `Palabra_clave`
- `Número_de_página`
- `Fuente`
- `Título_de_resultado`
- `Resultado_URL`
- `Descripción`

## Pricing

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

## Input

- `Keywords（up to 100）` (required): Enter one or more values, one per line.

## How to Use

1. Open the template and select **Try it** or **Start**.
2. Complete the input fields.
3. Choose a local or cloud run.
4. Review the output rows and export or process the structured data.

## Scheduling and API

- Runs locally or in the cloud.
- Schedule recurring runs and export data to CSV, Excel, JSON, databases, or cloud storage.
- Reuse data through Octoparse OpenAPI or the [AgentTools API](https://www.octoparse.com/docs/en/api-reference/agenttools-api/search-templates).
- Scheduling and API access may require a paid Octoparse plan.
- For local scheduled runs, keep your computer and Octoparse open.

## Limitations

- Collects only the output fields listed from search result pages; it does not add data Yahoo does not display.
- `Título_de_resultado`, `Resultado_URL`, and `Descripción` can be empty when the source record does not provide them.

## Tips

- Start with one or a few inputs and review the returned rows before scaling.
- Use the most specific valid `Keywords（up to 100）` to reduce unrelated or duplicate records.
- Use a stable field from the output as the deduplication key when available.

## Notes

If you want a customized template, don't hesitate to contact support@octoparse.com.

## 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 Search Scraper](https://www.octoparse.com/template/yahoo-search-scraper)
- [Booking.com Listing Scraper (for Spain)](https://www.octoparse.com/template/booking-hotel-listados-scraper)
- [Yellow Pages Spain Scraper(Listing)](https://www.octoparse.com/template/paginas-amarillas-listados-scraper)
- [Amazon Product Listing Scraper(for Spain)](https://www.octoparse.com/template/amazon-espana-listados-scraper)
- [Amazon Product Details Scraper (for Spain)](https://www.octoparse.com/template/amazon-producto-detalles-scraper-asin)

## Input Schema

```json
{
  "title": "Yahoo Spain Search Scraper input",
  "description": "Input parameters configured for the current published template version.",
  "type": "object",
  "schemaVersion": 1,
  "additionalProperties": false,
  "properties": {
    "keywords": {
      "title": "Keywords（up to 100）",
      "description": "Keywords",
      "type": "array",
      "items": {
        "type": "string"
      },
      "minItems": 1,
      "maxItems": 100,
      "x-octoparse": {
        "apiEnabled": true
      }
    }
  },
  "required": [
    "keywords"
  ]
}
```

## Input JSON Example

Example 1

```json
{
  "keywords": [
    "Presidente",
    "hipoteca",
    "banco"
  ]
}
```

Example 2

```json
{
  "keywords": [
    "Presidente",
    "hipoteca",
    "banco"
  ]
}
```

Example 3

```json
{
  "keywords": [
    "Presidente",
    "hipoteca",
    "banco"
  ]
}
```

Example 4

```json
{
  "keywords": [
    "Presidente",
    "hipoteca",
    "banco"
  ]
}
```


## Output Schema

```json
{
  "schemaVersion": 1,
  "type": "object",
  "properties": {
    "Descripción": {
      "type": "string",
      "description": ""
    },
    "Fuente": {
      "type": "string",
      "description": ""
    },
    "Número_de_página": {
      "type": "string",
      "description": ""
    },
    "Palabra_clave": {
      "type": "string",
      "description": ""
    },
    "Resultado_URL": {
      "type": "string",
      "description": ""
    },
    "Título_de_resultado": {
      "type": "string",
      "description": ""
    }
  },
  "title": "Yahoo Spain Search 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
{
  "Descripción": " Encuentra información y productos financieros para particulares como cuentas, tarjetas, prestamos, hipotecas, planes de pensiones o fondos de inversión. ",
  "Fuente": "www.bancosantander.es",
  "Número_de_página": "1",
  "Palabra_clave": "banco",
  "Resultado_URL": "https://www.bancosantander.es/",
  "Título_de_resultado": "Particulares - Banco Santander"
}
```

Example 2

```json
{
  "Descripción": " Te explicamos todo lo que necesitas saber para conseguir tu hipoteca. ¿Qué es un simulador de hipotecas? Un simulador de hipotecas es una herramienta online que te permite calcular rápidamente las condiciones de un préstamo para la compra de una vivienda. ",
  "Fuente": "www.idealista.com › hipotecas › simulador-hipotecas",
  "Número_de_página": "1",
  "Palabra_clave": "hipoteca",
  "Resultado_URL": "https://www.idealista.com/hipotecas/simulador-hipotecas/",
  "Título_de_resultado": "Simulador de Hipotecas Gratuito 2026 | Calcula tu Cuota en..."
}
```

Example 3

```json
{
  "Descripción": " Información sobre el presidente del Gobierno, su actividad, su biografía, su composición y su contacto. Acceso a las noticias, las transcripciones, las fotografías y los vídeos de la Presidencia del Gobierno. ",
  "Fuente": "www.lamoncloa.gob.es › presidente › Paginas",
  "Número_de_página": "1",
  "Palabra_clave": "Presidente",
  "Resultado_URL": "https://www.lamoncloa.gob.es/presidente/Paginas/index.aspx",
  "Título_de_resultado": "Presidente - La Moncloa"
}
```

Example 4

```json
{
  "Descripción": " Página web oficial del Presidente del Gobierno y el Consejo de Ministros. ",
  "Fuente": "lamoncloa.gob.es",
  "Número_de_página": "2",
  "Palabra_clave": "Presidente",
  "Resultado_URL": "http://lamoncloa.gob.es/",
  "Título_de_resultado": "La Moncloa. Gobierno de España"
}
```

## 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-busqueda-scraper",
  "taskName": "Yahoo Spain Search Scraper",
  "parameters": "{\"keywords\":[\"Presidente\",\"hipoteca\",\"banco\"]}"
}
```

## Python Example

```python
import json
import requests

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

parameters = json.loads("{\"keywords\":[\"Presidente\",\"hipoteca\",\"banco\"]}")

response = requests.post(
    f"{OPENAPI_BASE}/api/agentTools/executeTask",
    headers={
        "Authorization": f"Bearer {ACCESS_TOKEN}",
        "Content-Type": "application/json",
    },
    json={
        "templateName": "yahoo-busqueda-scraper",
        "taskName": "Yahoo Spain Search 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-busqueda-scraper",
  "taskName": "Yahoo Spain Search Scraper",
  "parameters": "{\"keywords\":[\"Presidente\",\"hipoteca\",\"banco\"]}"
}
JSON
```

## MCP Setup

Connect an MCP-compatible AI client to `https://mcp.octoparse.com` using browser OAuth or an Octoparse API key. Find `yahoo-busqueda-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-busqueda-scraper.json)
- [Manifest](https://www.octoparse.com/templates/yahoo-busqueda-scraper-manifest.json)
