# civitatis details scraper

Scrape

- Template page: [https://www.octoparse.com/template/civitatis-details-scraper](https://www.octoparse.com/template/civitatis-details-scraper)
- Categories: Travel
- 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 detail pages.

## Output

The current workflow extracts 13 fields, including `Actividad`, `Idioma`, `Incluido`, `No_incluido`, `Original_URL`, `Precio`, `descripción`, `duración`, `imagen1`, `imagen2`, `imagen3`, `opiniones`, `puntuación`.

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

## Input

### URL

Required. Detail page URL Constraints: minItems=1; maxItems=1000; items.minLength=1; items.maxLength=100000.

## How to Use

# civitatis details scraper

## Input
- **URL** (required): Enter one or more values, one per line.

## Output
The template returns the following fields:
- `Original_URL`
- `Actividad`
- `puntuación`
- `opiniones`
- `Precio`
- `imagen1`
- `imagen2`
- `imagen3`
- `descripción`
- `duración`
- `Idioma`
- `Incluido`
- `No_incluido`

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

## Limitations
- This template collects the fields listed in Output from detail pages; it does not add data that Civitatis does not display.
- Fields such as `Idioma`, `Incluido`, and `No_incluido` can be empty when the source record does not provide them.

## 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

- [Civitatis Listing Scraper](https://www.octoparse.com/template/civitatis-listing-scraper)
- [Contact Details Scraper](https://www.octoparse.com/template/contact-details-scraper)
- [YouTube Details & Comments Scraper (Free)](https://www.octoparse.com/template/youtube-details-comments-scraper-free)
- [Tabelog Details Scraper](https://www.octoparse.com/template/tabelog-details-scraper)
- [MercadoLibre Product Details Scraper](https://www.octoparse.com/template/mercadolibre-detalles-scraper)

## Input Schema

```json
{
  "title": "civitatis details scraper input",
  "description": "Input parameters configured for the current published template version.",
  "type": "object",
  "schemaVersion": 1,
  "additionalProperties": false,
  "properties": {
    "uRL": {
      "title": "URL",
      "description": "Detail page URL",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 100000
      },
      "minItems": 1,
      "maxItems": 1000,
      "x-octoparse": {
        "apiEnabled": true
      }
    }
  },
  "required": [
    "uRL"
  ]
}
```

## Input JSON Example

Example 1

```json
{
  "uRL": [
    "1"
  ]
}
```

Example 2

```json
{
  "uRL": [
    "[\"[\\\"https://www.civitatis.com/es/gijon/free-tour-gijon/opiniones/\\\"]\"]"
  ]
}
```

Example 3

```json
{
  "uRL": [
    "[\"https://www.civitatis.com/es/gijon/free-tour-gijon/opiniones/\"]"
  ]
}
```

Example 4

```json
{
  "uRL": [
    "[\"https://www.civitatis.com/ar/buenos-aires/\"]"
  ]
}
```

Example 5

```json
{
  "uRL": [
    "[\"[\\\"https://www.tripadvisor.es/Attraction_Review-g660734-d6351709-Reviews-Visitas_Guiadas_al_Conjunto_Monumental-Lerma_Province_of_Burgos_Castile_and_Leon.html#REVIEWS\\\"]\"]"
  ]
}
```


## Output Schema

```json
{
  "schemaVersion": 1,
  "type": "object",
  "properties": {
    "Actividad": {
      "type": "string",
      "description": ""
    },
    "Idioma": {
      "type": "string",
      "description": ""
    },
    "Incluido": {
      "type": "string",
      "description": ""
    },
    "No_incluido": {
      "type": "string",
      "description": ""
    },
    "Original_URL": {
      "type": "string",
      "description": ""
    },
    "Precio": {
      "type": "string",
      "description": ""
    },
    "descripción": {
      "type": "string",
      "description": ""
    },
    "duración": {
      "type": "string",
      "description": ""
    },
    "imagen1": {
      "type": "string",
      "description": ""
    },
    "imagen2": {
      "type": "string",
      "description": ""
    },
    "imagen3": {
      "type": "string",
      "description": ""
    },
    "opiniones": {
      "type": "string",
      "description": ""
    },
    "puntuación": {
      "type": "string",
      "description": ""
    }
  },
  "title": "civitatis details 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
{
  "Actividad": "",
  "Idioma": "",
  "Incluido": "",
  "No_incluido": "",
  "Original_URL": "1",
  "Precio": "",
  "descripción": "",
  "duración": "",
  "imagen1": "",
  "imagen2": "",
  "imagen3": "",
  "opiniones": "",
  "puntuación": ""
}
```

Example 2

```json
{
  "Actividad": "",
  "Idioma": "",
  "Incluido": "",
  "No_incluido": "",
  "Original_URL": "[\"[\\\"https://www.civitatis.com/es/gijon/free-tour-gijon/opiniones/\\\"]\"]",
  "Precio": "",
  "descripción": "",
  "duración": "",
  "imagen1": "",
  "imagen2": "",
  "imagen3": "",
  "opiniones": "",
  "puntuación": ""
}
```

Example 3

```json
{
  "Actividad": "",
  "Idioma": "",
  "Incluido": "",
  "No_incluido": "",
  "Original_URL": "[\"https://www.civitatis.com/es/gijon/free-tour-gijon/opiniones/\"]",
  "Precio": "",
  "descripción": "",
  "duración": "",
  "imagen1": "",
  "imagen2": "",
  "imagen3": "",
  "opiniones": "",
  "puntuación": ""
}
```

Example 4

```json
{
  "Actividad": "",
  "Idioma": "",
  "Incluido": "",
  "No_incluido": "",
  "Original_URL": "[\"https://www.civitatis.com/ar/buenos-aires/\"]",
  "Precio": "",
  "descripción": "",
  "duración": "",
  "imagen1": "",
  "imagen2": "",
  "imagen3": "",
  "opiniones": "",
  "puntuación": ""
}
```

Example 5

```json
{
  "Actividad": "",
  "Idioma": "",
  "Incluido": "",
  "No_incluido": "",
  "Original_URL": "[\"[\\\"https://www.tripadvisor.es/Attraction_Review-g660734-d6351709-Reviews-Visitas_Guiadas_al_Conjunto_Monumental-Lerma_Province_of_Burgos_Castile_and_Leon.html#REVIEWS\\\"]\"]",
  "Precio": "",
  "descripción": "",
  "duración": "",
  "imagen1": "",
  "imagen2": "",
  "imagen3": "",
  "opiniones": "",
  "puntuación": ""
}
```

## 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": "civitatis-details-scraper",
  "taskName": "civitatis details scraper",
  "parameters": "{\"uRL\":[\"1\"]}"
}
```

## Python Example

```python
import json
import requests

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

parameters = json.loads("{\"uRL\":[\"1\"]}")

response = requests.post(
    f"{OPENAPI_BASE}/api/agentTools/executeTask",
    headers={
        "Authorization": f"Bearer {ACCESS_TOKEN}",
        "Content-Type": "application/json",
    },
    json={
        "templateName": "civitatis-details-scraper",
        "taskName": "civitatis details 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": "civitatis-details-scraper",
  "taskName": "civitatis details scraper",
  "parameters": "{\"uRL\":[\"1\"]}"
}
JSON
```

## MCP Setup

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