"dataify-linkedin-company-information-by-url"

Prepare Dataify builder requests for the linkedin.com scraper family rooted at linkedin_company_information_by-url. Use when needs to work with the successfu...

dataify-server

@dataify-server

What This Skill Does

Generates Dataify builder curl requests for scraping LinkedIn company information by URL. It walks the user through selecting a scraper tool, collecting parameter values (user input or saved options), and building the final request with the correct spider name, spider ID, and spider_parameters.

Replaces manually constructing Dataify API requests by automating the parameter collection, tool selection, and curl command generation for LinkedIn company scraping.

When to Use It

  • Scrape LinkedIn company profile data by providing a company page URL
  • Build a Dataify scraper request for LinkedIn job listings from a job listing URL
  • Generate a curl command to scrape LinkedIn job listings by keyword search
  • Prepare a Dataify builder request with multiple parameter values zipped into separate rows
  • Set up a permanent DATAIFY_API_TOKEN environment variable for repeated scraping tasks

Install

$ openclaw skills install @dataify-server/dataify-linkedin-company-information-by-url

Dataify Builder Skill

Use this skill to prepare Dataify builder requests for the scraper family rooted at linkedin_company_information_by-url on linkedin.com.

Workflow

  1. Check whether DATAIFY_API_TOKEN exists in the environment.
  2. If the token is missing, stop and tell the user to sign in at Dataify Dashboard to obtain it.
  3. Ask the user to choose exactly one tool from the following Chinese list:
  • 通过URL采集 (linkedin_company_information_by-url)
  • 通过职位列表URL采集 (linkedin_job_listings_information_by-job-listing-url)
  • 通过职位URL采集 (linkedin_job_listings_information_by-job-url)
  • 通过关键词采集 (linkedin_job_listings_information_by-keyword)
  1. Read references/tool-params.json and find the chosen tool by tool_sign or Chinese tool name.
  2. For each parameter in the chosen tool:
    • If input_mode is user_input, ask the user for the value.
    • If input_mode is select, present the saved options to the user.
  3. Use scripts/build-dataify-request.py as the default cross-platform helper.
  4. Use scripts/build-dataify-request.ps1 as the Windows PowerShell helper when needed.
  5. When a selectable parameter has a human-readable Chinese label, keep that label in spider_parameters. Do not replace it with a code such as HK unless the user explicitly asks for the coded value.
  6. Build spider_parameters as a JSON array.
  7. If every parameter has only one final value, build one object such as [{"searchurl":"...","country":"Hong Kong"}].
  8. If one or more parameters have multiple aligned values, zip them by index and build one object per row. Example: [{"search_url":"url1","page_turning":"1","max_num":"15"},{"search_url":"url2","page_turning":"1","max_num":"15"}].
  9. If a parameter has one value while another parameter has multiple values, reuse the single value across every generated row.
  10. Set spider_name to linkedin.com.
  11. Set spider_id to the selected tool's tool_sign.
  12. Always include spider_errors=true and file_name={{TasksID}}.
  13. Return a curl command for https://scraperapi.dataify.com/builder.

Set DATAIFY_API_TOKEN

Prefer a permanent environment-variable setup instead of setting the token only for the current terminal session.

Windows PowerShell, permanent for the current user:

[Environment]::SetEnvironmentVariable("DATAIFY_API_TOKEN", "your_token_here", "User")

Then reopen PowerShell. If the current session also needs the token immediately, run:

$env:DATAIFY_API_TOKEN = "your_token_here"

macOS or Linux, permanent for bash:

echo 'export DATAIFY_API_TOKEN="your_token_here"' >> ~/.bashrc
source ~/.bashrc

macOS or Linux, permanent for zsh:

echo 'export DATAIFY_API_TOKEN="your_token_here"' >> ~/.zshrc
source ~/.zshrc

Script usage

Python:

python scripts/build-dataify-request.py --tool-sign <selected_tool_sign> --values-file values.json

PowerShell:

& ".\scripts\build-dataify-request.ps1" -ToolSign "<selected_tool_sign>" -ValuesFile ".\values.json"

The values.json file should contain either one object or an array of objects. Example:

[{"searchurl":"https://www.airbnb.com/s/Greece/homes?...","country":"Hong Kong"}]

Required output shape

Generate a curl command in this form:

curl -X POST 'https://scraperapi.dataify.com/builder' \
  -H "Authorization: Bearer $DATAIFY_API_TOKEN" \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d 'spider_name=linkedin.com' \
  -d 'spider_id=<selected_tool_sign>' \
  -d 'spider_parameters=[{"param":"value"}]' \
  -d 'spider_errors=true' \
  -d 'file_name={{TasksID}}'

Reference usage

  • references/tool-params.json stores the full saved parameter catalog for every available tool in this scraper family.
  • scripts/build-dataify-request.py is the portable implementation and should be preferred.
  • scripts/build-dataify-request.ps1 mirrors the same behavior for Windows users.
  • If a parameter has no options, the user must provide the value.
  • If a parameter has options, present those options back to the user before building the final request.
  • Do not assume spider_parameters always contains exactly one object. Multi-value tools may require multiple objects zipped by index.
  • Use the saved url_example only as a reference example. Do not assume the user wants the example values unless they explicitly confirm them.

Top skills in this category