# Google Play 抓取参数

Web Scraper API Google Play 抓取参数

\
使用 Thordata 的 Web Scraper API 配置 Google Play 抓取参数，包括应用网址、国家/地区、评论数量和其他参数。

**唯一标识:**

<details>

<summary><code>token</code>，<strong>访问令牌（必填）</strong></summary>

此参数用作 API 访问令牌，以确保抓取的合法性。

**请求示例：**

`Authorization: Bearer ********************`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer ********************" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=play.google.com" ^
  -d "spider_id=google-play-store_information_by-url" ^
  -d "spider_parameters=[{\"app_url\": \"https://play.google.com/store/apps/details?id=com.supercell.clashroyale\",\"country\": \"AU\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

**产品 - 抓取应用信息：**

1\. Google Play - 通过应用 URL 抓取应用信息

<details>

<summary><code>spider_id</code> ，<strong>抓取工具（必填）</strong></summary>

定义要使用的抓取工具。

**请求示例:**&#x20;

`spider_id=google-play-store_information_by-url`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=play.google.com" ^
  -d "spider_id=google-play-store_information_by-url" ^
  -d "spider_parameters=[{\"app_url\": \"https://play.google.com/store/apps/details?id=com.supercell.clashroyale\",\"country\": \"AU\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"

```

</details>

<details>

<summary><code>app_url</code>，<strong>应用 URL （必填）</strong></summary>

此参数指定 Google Play 网站上的应用网址。

**请求示例:**&#x20;

`"app_url": "https://play.google.com/store/apps/details?id=com.supercell.clashroyale"`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=play.google.com" ^
  -d "spider_id=google-play-store_information_by-url" ^
  -d "spider_parameters=[{\"app_url\": \"https://play.google.com/store/apps/details?id=com.supercell.clashroyale\",\"country\": \"AU\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>country</code>，<strong>国家/地区（可选）</strong></summary>

此参数指定要从中收集信息的国家/地区。

**请求示例:**&#x20;

`"country": "AU"`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=play.google.com" ^
  -d "spider_id=google-play-store_information_by-url" ^
  -d "spider_parameters=[{\"app_url\": \"https://play.google.com/store/apps/details?id=com.supercell.clashroyale\",\"country\": \"AU\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

**产品 - 抓取评论信息：**

1\. Google Play - 通过应用网址抓取应用评论信息

<details>

<summary><code>spider_id</code> ，<strong>抓取工具（必填）</strong></summary>

定义要使用的抓取工具。

**请求示例:**&#x20;

`spider_id=google-play-store_reviews_by-url`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=play.google.com" ^
  -d "spider_id=google-play-store_reviews_by-url" ^
  -d "spider_parameters=[{\"app_url\": \"https://play.google.com/store/apps/details?id=com.linkedin.android\",\"num_of_reviews\": \"1\",\"start date\": \"2025-01-01\",\"end date\": \"2025-08-02\",\"country\": \"CN\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"

```

</details>

<details>

<summary><code>app_url</code>，<strong>应用 URL （必填）</strong></summary>

此参数指定 Google Play 网站上的应用网址。

**请求示例:**&#x20;

`"app_url": "https://play.google.com/store/apps/details?id=com.linkedin.android"`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=play.google.com" ^
  -d "spider_id=google-play-store_reviews_by-url" ^
  -d "spider_parameters=[{\"app_url\": \"https://play.google.com/store/apps/details?id=com.linkedin.android\",\"num_of_reviews\": \"1\",\"start date\": \"2025-01-01\",\"end date\": \"2025-08-02\",\"country\": \"CN\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>num_of_reviews</code>，<strong>评论数量（可选）</strong></summary>

此参数指定要收集的评论数量。

**请求示例:**&#x20;

`"num_of_reviews": "1"`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=play.google.com" ^
  -d "spider_id=google-play-store_reviews_by-url" ^
  -d "spider_parameters=[{\"app_url\": \"https://play.google.com/store/apps/details?id=com.linkedin.android\",\"num_of_reviews\": \"1\",\"start date\": \"2025-01-01\",\"end date\": \"2025-08-02\",\"country\": \"CN\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>start_date</code>，<strong>开始日期（可选）</strong></summary>

此参数指定要收集评论的开始日期。

**请求示例:**&#x20;

`"start_date": "2025-01-01"`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=play.google.com" ^
  -d "spider_id=google-play-store_reviews_by-url" ^
  -d "spider_parameters=[{\"app_url\": \"https://play.google.com/store/apps/details?id=com.linkedin.android\",\"num_of_reviews\": \"1\",\"start date\": \"2025-01-01\",\"end date\": \"2025-08-02\",\"country\": \"CN\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>end_date</code>，<strong>结束日期（可选）</strong></summary>

此参数指定要收集的评论的截止日期。

**请求示例:**&#x20;

`"end_date": "2025-08-02"`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=play.google.com" ^
  -d "spider_id=google-play-store_reviews_by-url" ^
  -d "spider_parameters=[{\"app_url\": \"https://play.google.com/store/apps/details?id=com.linkedin.android\",\"num_of_reviews\": \"1\",\"start date\": \"2025-01-01\",\"end date\": \"2025-08-02\",\"country\": \"CN\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>country</code>，<strong>国家/地区（可选）</strong></summary>

此参数指定要从中收集信息的国家/地区。

**请求示例:**&#x20;

`"country": "CN"`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=play.google.com" ^
  -d "spider_id=google-play-store_reviews_by-url" ^
  -d "spider_parameters=[{\"app_url\": \"https://play.google.com/store/apps/details?id=com.linkedin.android\",\"num_of_reviews\": \"1\",\"start date\": \"2025-01-01\",\"end date\": \"2025-08-02\",\"country\": \"CN\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

如果您需要进一步的帮助，请通过电子邮件联系 <support@thordata.com>。
