# Indeed 抓取参数

Web Scraper API Indeed 抓取参数

使用 Thordata 的 Web Scraper API 配置 Indeed 抓取参数，包括公司URL、职位URL，职位列表URL，关键词，地区等参数。

**唯一标识:**

<details>

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

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

**请求示例：**

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

```
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer ********************" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=indeed.com" ^
  -d "spider_id=indeed_job-listings_by-keyword" ^
  -d "spider_parameters=[{\"country\": \"BR\",\"domain\": \"indeed.com\",\"keyword\": \"analyst\",\"location\": \"New York, NY\",\"date_posted\": \"The past 24 hours\",\"posted_by\": \"Employer\",\"pay\": \"50\",\"location_radius\": \"Exact location only\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

**一、产品-抓取公司信息：**

1.Indeed -通过公司URL抓取公司信息

<details>

<summary><code>spider_id</code> ，<strong>所属抓取工具 (必填)</strong></summary>

它定义了要使用的抓取工具。

**请求示例：**

`spider_id=indeed_companies-info_by-company-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=indeed.com" ^
  -d "spider_id=indeed_companies-info_by-company-url" ^
  -d "spider_parameters=[{\"company_url\": \"https://www.indeed.com/cmp/Allstate-Insurance\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"

```

</details>

<details>

<summary><code>company_url</code> ，<strong>公司 URL (必填)</strong></summary>

该参数用于指定抓取的公司URL。

**请求示例：**

`"company_url": "https://www.indeed.com/cmp/Allstate-Insurance"`

```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=indeed.com" ^
  -d "spider_id=indeed_companies-info_by-company-url" ^
  -d "spider_parameters=[{\"company_url\": \"https://www.indeed.com/cmp/Allstate-Insurance\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

2.Indeed -通过公司列表URL抓取公司信息

<details>

<summary><code>spider_id</code> ，<strong>所属抓取工具 (必填)</strong></summary>

它定义了要使用的抓取工具。

**请求示例：**

`spider_id=indeed_companies-info_by-company-list-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=indeed.com" ^
  -d "spider_id=indeed_companies-info_by-company-list-url" ^
  -d "spider_parameters=[{\"company_list_url\": \"https://www.indeed.com/companies/browse-companies\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"

```

</details>

<details>

<summary><code>company_list_url</code> ，<strong>公司列表URL (必填)</strong></summary>

该参数用于指定抓取的公司列表URL。

**请求示例：**

`"company_list_url": "https://www.indeed.com/companies/browse-companies"`

```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=indeed.com" ^
  -d "spider_id=indeed_companies-info_by-company-list-url" ^
  -d "spider_parameters=[{\"company_list_url\": \"https://www.indeed.com/companies/browse-companies\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

3.Indeed -通过关键词抓取公司信息

<details>

<summary><code>spider_id</code> ，<strong>所属抓取工具 (必填)</strong></summary>

它定义了要使用的抓取工具。

**请求示例：**

`spider_id=indeed_companies-info_by-keyword`

```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=indeed.com" ^
  -d "spider_id=indeed_companies-info_by-keyword" ^
  -d "spider_parameters=[{\"keyword\": \"openai\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"

```

</details>

<details>

<summary><code>keyword</code> ，<strong>关键词(必填)</strong></summary>

该参数用于指定搜索关键词。

**请求示例：**

`"keyword": "openai"`

```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=indeed.com" ^
  -d "spider_id=indeed_companies-info_by-keyword" ^
  -d "spider_parameters=[{\"keyword\": \"openai\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

4.Indeed -通过行业和地区抓取公司信息

<details>

<summary><code>spider_id</code> ，<strong>所属抓取工具 (必填)</strong></summary>

它定义了要使用的抓取工具。

**请求示例：**

`spider_id=indeed_companies-info_by-industry-and-state`

```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=indeed.com" ^
  -d "spider_id=indeed_companies-info_by-industry-and-state" ^
  -d "spider_parameters=[{\"industry\": \"Advertising %26 Public Relations\",\"state\": \"United States\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"

```

</details>

<details>

<summary><code>industry</code> ，<strong>行业 (必填)</strong></summary>

该参数用于指定公司所属行业。

**请求示例：**

`"industry": "Advertising %26 Public Relations"`

```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=indeed.com" ^
  -d "spider_id=indeed_companies-info_by-industry-and-state" ^
  -d "spider_parameters=[{\"industry\": \"Advertising %26 Public Relations\",\"state\": \"United States\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>state</code> ，<strong>地区 (选填)</strong></summary>

该参数用于指定公司所在地区。

**请求示例：**

`"state": "United States"`

```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=indeed.com" ^
  -d "spider_id=indeed_companies-info_by-industry-and-state" ^
  -d "spider_parameters=[{\"industry\": \"Advertising %26 Public Relations\",\"state\": \"United States\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

**二、产品-抓取职位信息：**

1\. Indeed -通过职位URL抓取职位信息

<details>

<summary><code>spider_id</code> ，<strong>所属抓取工具 (必填)</strong></summary>

它定义了要使用的抓取工具。

**请求示例：**

`spider_id=indeed_job-listings_by-job-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=indeed.com" ^
  -d "spider_id=indeed_job-listings_by-job-url" ^
  -d "spider_parameters=[{\"job_url\": \"https://fr.indeed.com/viewjob?jk=55b3e5dfa0c2ff66\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>job_url</code>， <strong>职位URL（必填）</strong></summary>

此参数指定要抓取的职位 URL。

**请求示例：**

`"job_url": "https://fr.indeed.com/viewjob?jk=55b3e5dfa0c2ff66"`

```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=indeed.com" ^
  -d "spider_id=indeed_job-listings_by-job-url" ^
  -d "spider_parameters=[{\"job_url\": \"https://fr.indeed.com/viewjob?jk=55b3e5dfa0c2ff66\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

2\. Indeed -通过关键词抓取职位信息

<details>

<summary><code>spider_id</code> ，<strong>所属抓取工具 (必填)</strong></summary>

它定义了要使用的抓取工具。

**请求示例：**

`spider_id=indeed_job-listings_by-keyword`

```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=indeed.com" ^
  -d "spider_id=indeed_job-listings_by-keyword" ^
  -d "spider_parameters=[{\"country\": \"BR\",\"domain\": \"indeed.com\",\"keyword\": \"analyst\",\"location\": \"New York, NY\",\"date_posted\": \"The past 24 hours\",\"posted_by\": \"Employer\",\"pay\": \"50\",\"location_radius\": \"Exact location only\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"

```

</details>

<details>

<summary><code>keyword</code>， <strong>关键词（必填）</strong></summary>

此参数指定要抓取的搜索关键词。

**请求示例：**

`"keyword": "sale"`

```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=indeed.com" ^
  -d "spider_id=indeed_job-listings_by-keyword" ^
  -d "spider_parameters=[{\"country\": \"BR\",\"domain\": \"fr.indeed.com\",\"keyword\": \"sale\",\"location\": \"Tokyo\",\"date_posted\": \"The past 24 hours\",\"posted_by\": \"Employer\",\"pay\": \"50\",\"location_radius\": \"Exact location only\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>country</code>    <strong>国家（必填）</strong></summary>

此参数指定要抓取的职位所在国家。

**请求示例：**

`"country": "BR"`

```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=indeed.com" ^
  -d "spider_id=indeed_job-listings_by-keyword" ^
  -d "spider_parameters=[{\"country\": \"BR\",\"domain\": \"fr.indeed.com\",\"keyword\": \"sale\",\"location\": \"Tokyo\",\"date_posted\": \"The past 24 hours\",\"posted_by\": \"Employer\",\"pay\": \"50\",\"location_radius\": \"Exact location only\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>domain</code>   <strong>域名（必填）</strong></summary>

此参数指定要抓取的域名。

**请求示例：**

`"domain": "fr.indeed.com"`

```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=indeed.com" ^
  -d "spider_id=indeed_job-listings_by-keyword" ^
  -d "spider_parameters=[{\"country\": \"BR\",\"domain\": \"fr.indeed.com\",\"keyword\": \"sale\",\"location\": \"Tokyo\",\"date_posted\": \"The past 24 hours\",\"posted_by\": \"Employer\",\"pay\": \"50\",\"location_radius\": \"Exact location only\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"

```

</details>

<details>

<summary><code>location</code>   <strong>位置（必填）</strong></summary>

此参数指定抓取特定位置的职位。

**请求示例：**

`"location": "Tokyo"`

```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=indeed.com" ^
  -d "spider_id=indeed_job-listings_by-keyword" ^
  -d "spider_parameters=[{\"country\": \"BR\",\"domain\": \"fr.indeed.com\",\"keyword\": \"sale\",\"location\": \"Tokyo\",\"date_posted\": \"The past 24 hours\",\"posted_by\": \"Employer\",\"pay\": \"50\",\"location_radius\": \"Exact location only\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"

```

</details>

<details>

<summary><code>date_posted</code>   <strong>发布日期（选填）</strong></summary>

此参数指定抓取特定日期发布的职位。

**请求示例：**

`"date_posted": "The past 24 hours"`

```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=indeed.com" ^
  -d "spider_id=indeed_job-listings_by-keyword" ^
  -d "spider_parameters=[{\"country\": \"BR\",\"domain\": \"fr.indeed.com\",\"keyword\": \"sale\",\"location\": \"Tokyo\",\"date_posted\": \"The past 24 hours\",\"posted_by\": \"Employer\",\"pay\": \"50\",\"location_radius\": \"Exact location only\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"

```

</details>

<details>

<summary><code>posted_by</code>  <strong>发布者（选填）</strong></summary>

此参数指定抓取特定发布者发布的职位。

**请求示例：**

`"posted_by": "Employer"`

```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=indeed.com" ^
  -d "spider_id=indeed_job-listings_by-keyword" ^
  -d "spider_parameters=[{\"country\": \"BR\",\"domain\": \"fr.indeed.com\",\"keyword\": \"sale\",\"location\": \"Tokyo\",\"date_posted\": \"The past 24 hours\",\"posted_by\": \"Employer\",\"pay\": \"50\",\"location_radius\": \"Exact location only\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"

```

</details>

<details>

<summary><code>pay</code>  <strong>薪酬（选填）</strong></summary>

此参数指定抓取特定薪酬的职位。

**请求示例：**

`"pay": "50"`

```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=indeed.com" ^
  -d "spider_id=indeed_job-listings_by-keyword" ^
  -d "spider_parameters=[{\"country\": \"BR\",\"domain\": \"fr.indeed.com\",\"keyword\": \"sale\",\"location\": \"Tokyo\",\"date_posted\": \"The past 24 hours\",\"posted_by\": \"Employer\",\"pay\": \"50\",\"location_radius\": \"Exact location only\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"

```

</details>

<details>

<summary><code>location_radius</code>  <strong>位置半径（选填）</strong></summary>

此参数指定抓取特定位置半径内的职位。

**请求示例：**

`"location_radius": "Exact location only"`

```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=indeed.com" ^
  -d "spider_id=indeed_job-listings_by-keyword" ^
  -d "spider_parameters=[{\"country\": \"BR\",\"domain\": \"fr.indeed.com\",\"keyword\": \"sale\",\"location\": \"Tokyo\",\"date_posted\": \"The past 24 hours\",\"posted_by\": \"Employer\",\"pay\": \"50\",\"location_radius\": \"Exact location only\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"

```

</details>

​

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