← 返回 Skills 市场
dataify-server

Dataify Airbnb Product By Searchurl

作者 dataify-server · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
41
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install dataify-airbnb-product-by-searchurl
功能描述
Prepare Dataify builder requests for the airbnb.com scraper family rooted at airbnb_product_by-searchurl. Use when needs to work with the successful Dataify...
使用说明 (SKILL.md)

Dataify Builder Skill

Use this skill to prepare Dataify builder requests for the scraper family rooted at airbnb_product_by-searchurl on airbnb.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](https://dataify.com/dashboard) to obtain it.
  3. Ask the user to choose exactly one tool from the following Chinese list:
  • 搜索URL (airbnb_product_by-searchurl)
  • 位置 (airbnb_product_by-location)
  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 airbnb.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 \x3Cselected_tool_sign> --values-file values.json

PowerShell:

& ".\scripts\build-dataify-request.ps1" -ToolSign "\x3Cselected_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=airbnb.com' \
  -d 'spider_id=\x3Cselected_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.
安全使用建议
Review this skill before installing if you care about API-token hygiene. Prefer setting DATAIFY_API_TOKEN only for the current session or through a secret manager, avoid committing shell profiles that contain tokens, and modify or avoid the helper output so it prints Authorization: Bearer $DATAIFY_API_TOKEN instead of the actual token value.
能力评估
Purpose & Capability
The stated purpose is coherent: prepare Dataify Airbnb scraper builder curl requests using a DATAIFY_API_TOKEN. The main concern is not the Dataify integration itself, but how the credential is stored and printed.
Instruction Scope
The English and Chinese instructions recommend permanent environment-variable setup in shell profiles or user environment variables without warning about plaintext credential exposure. The Python helper also expands the token into the printed curl command even though the documented output shape uses $DATAIFY_API_TOKEN.
Install Mechanism
No package installation, dependency fetching, background service, or privilege escalation is present. The artifact does reference files that are not included, such as references/tool-params.json and a PowerShell helper, which may make the skill incomplete but is not itself malicious.
Credentials
Reading DATAIFY_API_TOKEN is expected for an API request builder, but printing the raw bearer token into command output is broader than needed and can leak into logs, transcripts, screenshots, or command histories.
Persistence & Privilege
There is no hidden persistence or privilege escalation, but the skill explicitly recommends persistent local storage of a long-lived API token without safer alternatives or rotation/redaction guidance.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dataify-airbnb-product-by-searchurl
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dataify-airbnb-product-by-searchurl 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of Dataify builder skill for airbnb.com product scraping by search URL: - Guides users step-by-step to prepare Dataify scraper requests rooted at airbnb_product_by-searchurl. - Lets users choose tools using Chinese tool names, and dynamically presents required parameters from a saved catalog. - Builds a JSON array for "spider_parameters", supporting both single and multi-row requests with correctly aligned values. - Always generates a ready-to-run curl command for scraperapi.dataify.com/builder, with required headers and parameters. - Includes environment setup instructions for DATAIFY_API_TOKEN for Windows, macOS, and Linux. - Supports both Python and PowerShell helper scripts for request building.
元数据
Slug dataify-airbnb-product-by-searchurl
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Dataify Airbnb Product By Searchurl 是什么?

Prepare Dataify builder requests for the airbnb.com scraper family rooted at airbnb_product_by-searchurl. Use when needs to work with the successful Dataify... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 41 次。

如何安装 Dataify Airbnb Product By Searchurl?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install dataify-airbnb-product-by-searchurl」即可一键安装,无需额外配置。

Dataify Airbnb Product By Searchurl 是免费的吗?

是的,Dataify Airbnb Product By Searchurl 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Dataify Airbnb Product By Searchurl 支持哪些平台?

Dataify Airbnb Product By Searchurl 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Dataify Airbnb Product By Searchurl?

由 dataify-server(@dataify-server)开发并维护,当前版本 v1.0.0。

💬 留言讨论