Crunchbase 抓取參數

Web Scraper API Crunchbase 抓取參數

使用 Thordata 的 Web Scraper API 配置 Crunchbase 抓取參數,包括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=crunchbase.com" ^
  -d "spider_id=crunchbase_company_by-url" ^
  -d "spider_parameters=[{\"url\": \"https://www.crunchbase.com/organization/apple\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"

一、產品-抓取 Crunchbase 公司信息:

1. Crunchbase - 通過 URL 抓取公司信息

spider_id所屬抓取工具(必填)

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

請求示例:

spider_id=crunchbase_company_by-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=crunchbase.com" ^
  -d "spider_id=crunchbase_company_by-url" ^
  -d "spider_parameters=[{\"url\": \"https://www.crunchbase.com/organization/apple\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
urlURL(必填)

該參數用於指定待抓取的 Crunchbase 中的公司 URL。

請求示例:

\"url\": \"https://www.crunchbase.com/organization/apple\"

curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=crunchbase.com" ^
  -d "spider_id=crunchbase_company_by-url" ^
  -d "spider_parameters=[{\"url\": \"https://www.crunchbase.com/organization/apple\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"

2. Crunchbase - 通過關鍵詞抓取公司信息

spider_id所屬抓取工具(必填)

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

請求示例:

spider_id=crunchbase_company_by-keywords

curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=crunchbase.com" ^
  -d "spider_id=crunchbase_company_by-keywords" ^
  -d "spider_parameters=[{\"keyword\": \"apple\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
keyword關鍵詞(必填)

該參數用於指定抓取 Crunchbase 中搜索公司的關鍵詞。

請求示例:

"keyword": "apple"

curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=crunchbase.com" ^
  -d "spider_id=crunchbase_company_by-keywords" ^
  -d "spider_parameters=[{\"keyword\": \"apple\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"

如果您需要進一步的幫助,請通過電子郵件聯繫 [email protected]

Last updated

Was this helpful?