# 酒店评论数据抓取：舆情分析就绪

**Use case:** 

搜索目标城市酒店并获取评分、点评数量与placeId，再按ID抓取最新评论，字段含评分、日期、出行类型与语言，可直接用于情感分析、竞品对比与定时监控。

## Input

```json
{
  "search_mode": "search",
  "query": "hotels in shanghai",
  "place_types": [],
  "max_results": 20,
  "tripadvisor_domain": "www.tripadvisor.com"
}
```

## Output

```json
{
  "resultType": {
    "label": "Result type",
    "format": "string"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "placeType": {
    "label": "Place type",
    "format": "string"
  },
  "rating": {
    "label": "Rating",
    "format": "number"
  },
  "reviewCount": {
    "label": "Review count",
    "format": "integer"
  },
  "location": {
    "label": "Location",
    "format": "string"
  },
  "placeId": {
    "label": "Place ID",
    "format": "string"
  },
  "url": {
    "label": "URL",
    "format": "string"
  },
  "thumbnail": {
    "label": "Thumbnail",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Tripadvisor API | Hotel, Restaurant and Attraction Reviews](https://apify.com/johnvc/tripadvisor-api) with a specific input configuration. Visit the [Actor detail page](https://apify.com/johnvc/tripadvisor-api) to learn more, explore other use cases, and run it yourself.