# Tripadvisor Hotel List Scraper (for Italy)

Scrape hotel list (name, prices, rating, etc.) on Tripadvisor.it with URLs of listing pages.

- Template page: [https://www.octoparse.com/template/crawler-lista-hotel-tripsdvisor](https://www.octoparse.com/template/crawler-lista-hotel-tripsdvisor)
- Categories: Travel
- Status: `PUBLISHED`
- Run mode: `LOCAL`

## 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 7 fields, including `Url_inserito`, `Parola_chiave`, `Nome_dell_hotel`, `Prezzo`, `Valutazione`, `Recensioni_totali`, `Pagina_dei_dettagli`.

## 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 Hotel listing page URL (up to 5) and start the template in local mode.
- **Flexible export:** review and export results as CSV, Excel, or JSON.

## Input

### Hotel listing page URL (up to 5)

Optional. URLs of the hotel search results pages on Tripadvisor.it Constraints: minItems=1; maxItems=5; items.minLength=1; items.maxLength=5000.

## How to Use

# Tripadvisor Hotel List Scraper (for Italy)

This template collects hotel list data from Tripadvisor.it listing pages: hotel name, price, rating, review count, and detail-page URL for each result.

## Input

- **Hotel listing page URL (up to 5)** (optional): Enter one or more URLs, one per line.

## Output Fields

The template returns these fields:

- `Url_inserito`
- `Parola_chiave`
- `Nome_dell_hotel`
- `Prezzo`
- `Valutazione`
- `Recensioni_totali`
- `Pagina_dei_dettagli`

## How to Use

1. Open the template and select **Try it** or **Start**.
2. Complete the input fields.
3. Run the task locally.
4. Review the output rows and export or process the structured data.

## Pricing

This template currently has no per-line charge.

## Limitations

- The template runs locally, so keep your computer and Octoparse open while the task is running.
- `Valutazione`, `Recensioni_totali`, and `Pagina_dei_dettagli` 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 the task.
- Use the most specific valid hotel listing page URL to reduce unrelated or duplicate records.
- When deduplication is needed, use a stable value from the output fields (for example, `Url_inserito` or `Pagina_dei_dettagli`) as the key.

## Scheduling and Export

You can schedule recurring runs and export data to CSV, Excel, JSON, databases, or cloud storage. You can also reuse the 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.

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

- [Booking.com Hotel List Scraper (for Italy)](https://www.octoparse.com/template/crawler-lista-hotel-booking)
- [TripAdvisor Hotel Review Scraper (for Italy)](https://www.octoparse.com/template/crawler-recensioni-hotel-tripadvisor)
- [TripAdvisor Hotel Detail Scraper (for Italy)](https://www.octoparse.com/template/crawler-dettagli-hotel-tripadvisor)
- [Tripadvisor Hotel Listing Scraper（for Spain）](https://www.octoparse.com/template/tripadvisor-hotel-listados-scraper)
- [Tripadvisor Hotel Scraper (for germany)](https://www.octoparse.com/template/tripadvisor-hotel-scraper-for-germany)

## Input Schema

```json
{
  "title": "Tripadvisor Hotel List Scraper (for Italy) input",
  "description": "Input parameters configured for the current published template version.",
  "type": "object",
  "schemaVersion": 1,
  "additionalProperties": false,
  "properties": {
    "hotel_listing_page_URL": {
      "title": "Hotel listing page URL (up to 5)",
      "description": "URLs of the hotel search results pages on Tripadvisor.it",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 5000
      },
      "minItems": 1,
      "maxItems": 5,
      "x-octoparse": {
        "apiEnabled": true
      }
    }
  },
  "required": []
}
```

## Input JSON Example

No verified real input/output examples are currently available.


## Output Schema

```json
{
  "schemaVersion": 1,
  "type": "object",
  "properties": {
    "Url_inserito": {
      "type": "string",
      "description": ""
    },
    "Parola_chiave": {
      "type": "string",
      "description": ""
    },
    "Nome_dell_hotel": {
      "type": "string",
      "description": ""
    },
    "Prezzo": {
      "type": "string",
      "description": ""
    },
    "Valutazione": {
      "type": "string",
      "description": ""
    },
    "Recensioni_totali": {
      "type": "string",
      "description": ""
    },
    "Pagina_dei_dettagli": {
      "type": "string",
      "description": ""
    }
  },
  "title": "Tripadvisor Hotel List Scraper (for Italy) 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

No verified real input/output examples are currently available.

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

No verified real input/output examples are currently available.

## MCP Setup

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