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