Indeed 抓取參數
Web Scraper API Indeed 抓取參數
使用 Thordata 的 Web Scraper API 配置 Indeed 抓取參數,包括公司URL、職位URL,職位列表URL,關鍵字,地區等參數。
唯一标識:
token ,訪問令牌(必填)
此參數用作 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}}"一、產品-抓取公司資訊:
1.Indeed -透過公司URL抓取公司訊息
spider_id ,所屬抓取工具 (必填)
它定義了要使用的抓取工具。
請求範例:
spider_id=indeed_companies-info_by-company-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=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}}"
company_url ,公司 URL (必填)
此參數用於指定抓取的公司URL。
請求範例:
"company_url": "https://www.indeed.com/cmp/Allstate-Insurance"
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}}"2.Indeed -透過公司列表URL抓取公司訊息
spider_id ,所屬抓取工具 (必填)
它定義了要使用的抓取工具。
請求範例:
spider_id=indeed_companies-info_by-company-list-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=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}}"
company_list_url ,公司清單URL (必填)
此參數用於指定抓取的公司清單URL。
請求範例:
"company_list_url": "https://www.indeed.com/companies/browse-companies"
3.Indeed -透過關鍵字抓取公司訊息
4.Indeed -透過產業和地區抓取公司訊息
二、產品-抓取職位資訊:
1. Indeed -透過職位URL抓取職位信息
job_url, 職位URL(必填)
此參數指定要抓取的職位 URL。
請求範例:
"job_url": "https://fr.indeed.com/viewjob?jk=55b3e5dfa0c2ff66"
2. Indeed -透過關鍵字抓取職位資訊
如果您需要進一步的協助,請透過電子郵件聯繫 [email protected]。
Last updated
Was this helpful?