Install
openclaw skills install @dataify-server/dataify-tiktok-comment-by-urlCollect Tiktok Builder data and return results
openclaw skills install @dataify-server/dataify-tiktok-comment-by-urlUse this skill to prepare Dataify builder requests for the scraper family rooted at tiktok_comment_by-url on tiktok.com.
DATAIFY_API_TOKEN exists in the environment.references/tool-params.json and find the chosen tool by tool_sign or Chinese tool name.input_mode is user_input, ask the user for the value.input_mode is select, present the saved options to the user.scripts/build-dataify-request.py as the default cross-platform helper.scripts/build-dataify-request.ps1 as the Windows PowerShell helper when needed.spider_parameters. Do not replace it with a code such as HK unless the user explicitly asks for the coded value.spider_parameters as a JSON array.[{"searchurl":"...","country":"Hong Kong"}].[{"search_url":"url1","page_turning":"1","max_num":"15"},{"search_url":"url2","page_turning":"1","max_num":"15"}].spider_name to tiktok.com.spider_id to the selected tool's tool_sign.spider_errors=true and file_name={{TasksID}}.https://scraperapi.dataify.com/builder.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
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"}]
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=tiktok.com' \
-d 'spider_id=<selected_tool_sign>' \
-d 'spider_parameters=[{"param":"value"}]' \
-d 'spider_errors=true' \
-d 'file_name={{TasksID}}'
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.spider_parameters always contains exactly one object. Multi-value tools may require multiple objects zipped by index.url_example only as a reference example. Do not assume the user wants the example values unless they explicitly confirm them.The default deliverable is the collected result, not only a task_id.
task_id.$dataify-task-operations and monitor the same task ID.
--timeout 1800 for media downloads or clearly high-volume, multi-page, or multi-input collections.--no-wait behavior.python3 scripts/build-dataify-request.py --help
export for macOS/Linux shells, $env: for Windows PowerShell, or set for Windows Command Prompt). Show other platforms or persistent setup only when detection is ambiguous or the user asks.DATAIFY_API_TOKEN is present; never print its value. If verification succeeds, continue the original task without asking the user to repeat it..env unless the execution path explicitly loads it, and ensure .env is ignored by version control.