# LinkedIn抓取參數

Web Scraper API LinkedIn 抓取參數

\
使用 Thordata 的 Web Scraper API 設定 LinkedIn 抓取參數，包括URL、職位URL，職位清單URL，關鍵字等參數。

\
唯一标識:

<details>

<summary><code>token</code> ，訪問令牌（必填）</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=linkedin.com" ^
  -d "spider_id=linkedin_job_listings_information_by-job-listing-url" ^
  -d "spider_parameters=[{\"job_listing_url\": \"https://www.linkedin.com/jobs/reddit-inc.-jobs-worldwide?f_C=150573\",\"page_turning\": \"\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

**一、產品-抓取公司訊息：**

1. LinkedIn -透過公司URL抓取公司訊息

<details>

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

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

**請求示例：**

`spider_id=linkedin_company_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=linkedin.com" ^
  -d "spider_id=linkedin_company_information_by-url" ^
  -d "spider_parameters=[{\"url\": \"https://www.linkedin.com/company/dynamo-software\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"

```

</details>

<details>

<summary><code>url</code> ，<strong>URL</strong> (必填)</summary>

此參數用於指定抓取的公司URL。

**請求示例：**

`"url": "https://www.linkedin.com/company/dynamo-software"`

```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=linkedin.com" ^
  -d "spider_id=linkedin_company_information_by-url" ^
  -d "spider_parameters=[{\"url\": \"https://www.linkedin.com/company/dynamo-software\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

**二、產品-抓取職位訊息：**

1. LinkedIn -透過職位列表URL抓取職位訊息

<details>

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

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

**請求示例：**

`spider_id=linkedin_job_listings_information_by-job-listing-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=linkedin.com" ^
  -d "spider_id=linkedin_job_listings_information_by-job-listing-url" ^
  -d "spider_parameters=[{\"job_listing_url\": \"https://www.linkedin.com/jobs/reddit-inc.-jobs-worldwide?f_C=150573\",\"page_turning\": \"\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>job_listing_url</code>， <strong>職位列表URL（必填）</strong></summary>

此參數指定要抓取的職位清單 URL。

**請求示例：**

`"job_listing_url": "https://www.linkedin.com/jobs/reddit-inc.-jobs-worldwide?f_C=150573"`

```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=linkedin.com" ^
  -d "spider_id=linkedin_job_listings_information_by-job-listing-url" ^
  -d "spider_parameters=[{\"job_listing_url\": \"https://www.linkedin.com/jobs/reddit-inc.-jobs-worldwide?f_C=150573\",\"page_turning\": \"1\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>page_turning</code>，<strong>翻頁（可選）</strong></summary>

此參數指定抓取時的翻頁數量。

**請求示例：**

`"page_turning": "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=linkedin.com" ^
  -d "spider_id=linkedin_job_listings_information_by-job-listing-url" ^
  -d "spider_parameters=[{\"job_listing_url\": \"https://www.linkedin.com/jobs/reddit-inc.-jobs-worldwide?f_C=150573\",\"page_turning\": \"1\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"

```

</details>

2. LinkedIn - 透過職位URL抓取職位訊息

<details>

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

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

**請求示例：**

`spider_id=linkedin_job_listings_information_by-job-listing-url`

```
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=linkedin.com" ^
  -d "spider_id=linkedin_job_listings_information_by-job-url" ^
  -d "spider_parameters=[{\"job_url\": \"https://www.linkedin.com/jobs/view/senior-client-partner-large-customer-sales-gaming-at-reddit-inc-4303761033?position=10%26pageNum=0%26refId=kHRQtl6Ws14VG9y3UloI4w%3D%3D%26trackingId=%2Fb2esqHHEjp1FoEkC8PfuQ%3D%3D\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"

```

</details>

<details>

<summary><code>job_url</code>，職位<strong>URL</strong> (required)</summary>

此參數指定要抓取的職位URL。

**請求示例：**

`"job_url": "https://www.linkedin.com/jobs/view/senior-client-partner-large-customer-sales-gaming-at-reddit-inc-4303761033?position=10&pageNum=0&refId=kHRQtl6Ws14VG9y3UloI4w%3D%3D&trackingId=%2Fb2esqHHEjp1FoEkC8PfuQ%3D%3D"`

```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=linkedin.com" ^
  -d "spider_id=linkedin_job_listings_information_by-job-url" ^
  -d "spider_parameters=[{\"job_url\": \"https://www.linkedin.com/jobs/view/senior-client-partner-large-customer-sales-gaming-at-reddit-inc-4303761033?position=10%26pageNum=0%26refId=kHRQtl6Ws14VG9y3UloI4w%3D%3D%26trackingId=%2Fb2esqHHEjp1FoEkC8PfuQ%3D%3D\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

3. LinkedIn -透過關鍵字抓取職位訊息

<details>

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

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

**請求示例：**

`spider_id=linkedin_job_listings_information_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=linkedin.com" ^
  -d "spider_id=linkedin_job_listings_information_by-keyword" ^
  -d "spider_parameters=[{\"location\": \"New York\",\"keyword\": \"product manager\",\"time_range\": \"\",\"experience_level\": \"\",\"job_type\": \"\",\"remote\": \"\",\"company\": \"\",\"selective_search\": \"\",\"jobs_to_not_include\": \"\",\"location_radius\": \"\",\"page_turning\": \"\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>location</code>，<strong>職位地點（必填）</strong></summary>

此參數指定抓取的職位的位置。

**請求示例：**

`"location": "New York"`

```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=linkedin.com" ^
  -d "spider_id=linkedin_job_listings_information_by-keyword" ^
  -d "spider_parameters=[{\"location\": \"New York\",\"keyword\": \"product manager\",\"time_range\": \"Any_time\",\"experience_level\": \"Internship\",\"job_type\": \"Full_time\",\"remote\": \"On_site\",\"company\": \"Reddit, Inc.\",\"selective_search\": \"true\",\"jobs_to_not_include\": \"4321229455\",\"location_radius\": \"Exact_location\",\"page_turning\": \"1\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>keyword</code>，<strong>關鍵字（可選）</strong></summary>

此參數指定要抓取的關鍵字。

**請求示例：**

`"Keyword": "product manager"`

```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=linkedin.com" ^
  -d "spider_id=linkedin_job_listings_information_by-keyword" ^
  -d "spider_parameters=[{\"location\": \"New York\",\"keyword\": \"product manager\",\"time_range\": \"Any_time\",\"experience_level\": \"Internship\",\"job_type\": \"Full_time\",\"remote\": \"On_site\",\"company\": \"Reddit, Inc.\",\"selective_search\": \"true\",\"jobs_to_not_include\": \"4321229455\",\"location_radius\": \"Exact_location\",\"page_turning\": \"1\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>time_range</code>，<strong>時間範圍（可選）</strong></summary>

此參數指定抓取的時間範圍。

**請求示例：**

`"time_range": "Any_time"`

```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=linkedin.com" ^
  -d "spider_id=linkedin_job_listings_information_by-keyword" ^
  -d "spider_parameters=[{\"location\": \"New York\",\"keyword\": \"product manager\",\"time_range\": \"Any_time\",\"experience_level\": \"Internship\",\"job_type\": \"Full_time\",\"remote\": \"On_site\",\"company\": \"Reddit, Inc.\",\"selective_search\": \"true\",\"jobs_to_not_include\": \"4321229455\",\"location_radius\": \"Exact_location\",\"page_turning\": \"1\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>experience_level</code>，<strong>經驗等級（可選）</strong></summary>

此參數用於指定要抓取對經驗等級有特定要求的職位。

**請求示例：**

`"experience_level": "Internship"`

```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=linkedin.com" ^
  -d "spider_id=linkedin_job_listings_information_by-keyword" ^
  -d "spider_parameters=[{\"location\": \"New York\",\"keyword\": \"product manager\",\"time_range\": \"Any_time\",\"experience_level\": \"Internship\",\"job_type\": \"Full_time\",\"remote\": \"On_site\",\"company\": \"Reddit, Inc.\",\"selective_search\": \"true\",\"jobs_to_not_include\": \"4321229455\",\"location_radius\": \"Exact_location\",\"page_turning\": \"1\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>job_type</code>，<strong>职位类型（可选）</strong></summary>

此參數指定爬取的時間範圍。

**請求示例：**

`"job_type": "Full_time"`

```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=linkedin.com" ^
  -d "spider_id=linkedin_job_listings_information_by-keyword" ^
  -d "spider_parameters=[{\"location\": \"New York\",\"keyword\": \"product manager\",\"time_range\": \"Any_time\",\"experience_level\": \"Internship\",\"job_type\": \"Full_time\",\"remote\": \"On_site\",\"company\": \"Reddit, Inc.\",\"selective_search\": \"true\",\"jobs_to_not_include\": \"4321229455\",\"location_radius\": \"Exact_location\",\"page_turning\": \"1\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>remote</code>，<strong>遠距（可選）</strong></summary>

此參數用於指定要抓取的職位的遠端選項。

**請求示例：**

`"remote": "On_site"`

```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=linkedin.com" ^
  -d "spider_id=linkedin_job_listings_information_by-keyword" ^
  -d "spider_parameters=[{\"location\": \"New York\",\"keyword\": \"product manager\",\"time_range\": \"Any_time\",\"experience_level\": \"Internship\",\"job_type\": \"Full_time\",\"remote\": \"On_site\",\"company\": \"Reddit, Inc.\",\"selective_search\": \"true\",\"jobs_to_not_include\": \"4321229455\",\"location_radius\": \"Exact_location\",\"page_turning\": \"1\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>company</code>，<strong>公司（可選）</strong></summary>

此參數用於指定要抓取的職位所屬的特定公司。

**請求示例：**

`"company": "Reddit, Inc."`

```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=linkedin.com" ^
  -d "spider_id=linkedin_job_listings_information_by-keyword" ^
  -d "spider_parameters=[{\"location\": \"New York\",\"keyword\": \"product manager\",\"time_range\": \"Any_time\",\"experience_level\": \"Internship\",\"job_type\": \"Full_time\",\"remote\": \"On_site\",\"company\": \"Reddit, Inc.\",\"selective_search\": \"true\",\"jobs_to_not_include\": \"4321229455\",\"location_radius\": \"Exact_location\",\"page_turning\": \"1\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>selective_search</code>，<strong>選擇性搜尋（可選）</strong></summary>

當此參數設為「true」時，將排除不包含特定關鍵字的職位。

**請求示例：**

`"selective_search": "true"`

```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=linkedin.com" ^
  -d "spider_id=linkedin_job_listings_information_by-keyword" ^
  -d "spider_parameters=[{\"location\": \"New York\",\"keyword\": \"product manager\",\"time_range\": \"Any_time\",\"experience_level\": \"Internship\",\"job_type\": \"Full_time\",\"remote\": \"On_site\",\"company\": \"Reddit, Inc.\",\"selective_search\": \"true\",\"jobs_to_not_include\": \"4321229455\",\"location_radius\": \"Exact_location\",\"page_turning\": \"1\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>jobs_to_not_include</code>，<strong>不包括的職位（可選）</strong></summary>

此參數用於指定不抓取的職位id。

**請求示例：**

`"jobs_to_not_include": "4321229455"`

```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=linkedin.com" ^
  -d "spider_id=linkedin_job_listings_information_by-keyword" ^
  -d "spider_parameters=[{\"location\": \"New York\",\"keyword\": \"product manager\",\"time_range\": \"Any_time\",\"experience_level\": \"Internship\",\"job_type\": \"Full_time\",\"remote\": \"On_site\",\"company\": \"Reddit, Inc.\",\"selective_search\": \"true\",\"jobs_to_not_include\": \"4321229455\",\"location_radius\": \"Exact_location\",\"page_turning\": \"1\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>location_radius</code>，<strong>位置半徑（可選）</strong></summary>

此參數用於指定要抓取的職位的距離。

**請求示例：**

`"location_radius": "Exact_location"`

```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=linkedin.com" ^
  -d "spider_id=linkedin_job_listings_information_by-keyword" ^
  -d "spider_parameters=[{\"location\": \"New York\",\"keyword\": \"product manager\",\"time_range\": \"Any_time\",\"experience_level\": \"Internship\",\"job_type\": \"Full_time\",\"remote\": \"On_site\",\"company\": \"Reddit, Inc.\",\"selective_search\": \"true\",\"jobs_to_not_include\": \"4321229455\",\"location_radius\": \"Exact_location\",\"page_turning\": \"1\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>page_turning</code>，<strong>翻頁（可選）</strong></summary>

此參數用於指定翻頁的數量。

**請求示例：**

`"page_turning": "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=linkedin.com" ^
  -d "spider_id=linkedin_job_listings_information_by-keyword" ^
  -d "spider_parameters=[{\"location\": \"New York\",\"keyword\": \"product manager\",\"time_range\": \"Any_time\",\"experience_level\": \"Internship\",\"job_type\": \"Full_time\",\"remote\": \"On_site\",\"company\": \"Reddit, Inc.\",\"selective_search\": \"true\",\"jobs_to_not_include\": \"4321229455\",\"location_radius\": \"Exact_location\",\"page_turning\": \"1\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

​

如果您需要進一步的協助，請透過電子郵件聯絡 <support@thordata.com>。
