← 返回 Skills 市场
dataify-server

Dataify Web Unlocker

作者 dataify-server · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
39
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install dataify-web-unlocker
功能描述
Unlock or fetch difficult web pages through the Dataify Web Unlocker API. Use when needs to retrieve HTML or rendered content from sites that may block norma...
使用说明 (SKILL.md)

Dataify Web Unlocker

Use the bundled wrappers to call Dataify's Web Unlocker API with a stable parameter set across platforms.

Treat every request field as optional user input except for url. Confirm the target url with the user before making the request if it is not already explicit in the prompt. For every other field, keep the default value unless the user explicitly asks to override it.

Workflow

  1. Use scripts/invoke-dataify-web-unlocker.py on macOS/Linux or when cross-platform portability matters.
  2. Use scripts/invoke-dataify-web-unlocker.ps1 on Windows when PowerShell is the best fit.
  3. Use a raw curl command only when the user explicitly asks for it.
  4. Confirm the target url with the user if it was not clearly provided. Do not guess the URL.
  5. Treat every other request field as optional. Override a field only when the user explicitly asked for a non-default value.
  6. Let the script read DATAIFY_API_TOKEN from the environment.
  7. If the token is missing, stop and tell the user to sign in at Dataify Dashboard to obtain DATAIFY_API_TOKEN.
  8. Return the API response body directly unless the user asks for extra post-processing.

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

Default request body

Use these defaults unless the user asks for different values. Only url must be collected before the real request is sent:

{
  "url": "https://www.google.com",
  "type": "html",
  "js_render": "True",
  "block_resources": "",
  "clean_content": "",
  "country": "us",
  "headers": "",
  "cookies": "",
  "wait": "",
  "wait_for": "",
  "follow_redirect": "True",
  "isjson": "1"
}

Preferred commands

Ask for the URL first if the user did not provide one. After that, the minimal call should pass only url and rely on defaults for everything else.

Cross-platform Python:

python scripts/invoke-dataify-web-unlocker.py --url "https://www.google.com"

Windows PowerShell:

& ".\scripts\invoke-dataify-web-unlocker.ps1" -Url "https://www.google.com"

Common overrides in Python:

python scripts/invoke-dataify-web-unlocker.py \
  --url "https://example.com" \
  --js-render "True" \
  --country "us" \
  --wait "3000" \
  --wait-for ".main-content"

Common overrides in PowerShell:

& ".\scripts\invoke-dataify-web-unlocker.ps1" `
  -Url "https://example.com" `
  -JsRender "True" `
  -Country "us" `
  -Wait "3000" `
  -WaitFor ".main-content"

Use --dry-run or -DryRun to preview the endpoint, authorization state, and JSON payload without making the network request:

python scripts/invoke-dataify-web-unlocker.py --url "https://example.com" --dry-run
& ".\scripts\invoke-dataify-web-unlocker.ps1" -Url "https://example.com" -DryRun

Raw curl fallback

If the user explicitly wants the raw request, use curl.exe in PowerShell, not curl, to avoid the PowerShell alias ambiguity.

Before calling the API, check the token:

if (-not $env:DATAIFY_API_TOKEN) {
  Write-Error "DATAIFY_API_TOKEN is not set. Sign in at https://www.dataify.com/ to obtain it."
  exit 1
}

Then send the request:

curl.exe -X POST "https://webunlocker.dataify.com/request" `
  -H "Authorization: Bearer $env:DATAIFY_API_TOKEN" `
  -H "Content-Type: application/json" `
  -d "{\"url\":\"https://www.google.com\",\"type\":\"html\",\"js_render\":\"True\",\"block_resources\":\"\",\"clean_content\":\"\",\"country\":\"us\",\"headers\":\"\",\"cookies\":\"\",\"wait\":\"\",\"wait_for\":\"\",\"follow_redirect\":\"True\",\"isjson\":\"1\"}"

Parameter notes

  • url is the only field that should be treated as required input from the user.
  • Ask the user to confirm url if it is missing or ambiguous.
  • headers and cookies are passed through as strings exactly as provided by the caller.
  • Keep boolean-like fields as strings such as "True" because that matches the supplied API format.
  • Keep isjson as "1" unless the user explicitly requests a different response mode.
  • Prefer minimal overrides. Do not invent custom headers, cookies, waits, render settings, or country overrides unless the user requested them.
  • The Python wrapper uses only the standard library so it stays portable and does not require third-party packages.
安全使用建议
Install only if you intend to use Dataify as a third-party web-fetching service. Treat DATAIFY_API_TOKEN like a password, rotate it if exposed, and do not send authentication cookies, Authorization headers, internal URLs, private account pages, or regulated data unless you understand that Dataify may receive them.
能力评估
Purpose & Capability
The stated purpose is to fetch or unlock difficult web pages through Dataify, and the artifact implements that by posting user-supplied request fields to Dataify's Web Unlocker endpoint.
Instruction Scope
Activation language is broad for difficult web fetches, but the workflow requires an explicit or confirmed URL and says optional fields such as headers and cookies should only be changed when the user asks.
Install Mechanism
The package contains markdown guidance, an agent metadata file, and a standard-library Python wrapper with no third-party dependencies; it references a PowerShell wrapper that is not present, which is a quality issue rather than a security issue.
Credentials
Network access to Dataify and use of DATAIFY_API_TOKEN are proportionate to the API-wrapper purpose, but documentation should more prominently warn that URLs, headers, cookies, and page content are sent to a third party.
Persistence & Privilege
The docs recommend persistent environment-variable storage for DATAIFY_API_TOKEN, which is common for API tools but should be treated as secret credential storage.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dataify-web-unlocker
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dataify-web-unlocker 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of Dataify Web Unlocker skill. - Unlock or fetch web pages using the Dataify Web Unlocker API, with strong support for handling blocks, JavaScript rendering, redirects, country selection, and custom headers/cookies. - Bundled cross-platform Python and PowerShell scripts for easy API invocation. - Only the `url` parameter is required—prompt users to confirm the target URL if not explicit. - All other fields use safe defaults unless the user specifies overrides. - Provides clear instructions for setting the `DATAIFY_API_TOKEN` environment variable. - Supports a dry-run mode for previewing requests without sending them. - Detailed fallback instructions for using raw `curl` requests when needed.
元数据
Slug dataify-web-unlocker
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Dataify Web Unlocker 是什么?

Unlock or fetch difficult web pages through the Dataify Web Unlocker API. Use when needs to retrieve HTML or rendered content from sites that may block norma... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 39 次。

如何安装 Dataify Web Unlocker?

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

Dataify Web Unlocker 是免费的吗?

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

Dataify Web Unlocker 支持哪些平台?

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

谁开发了 Dataify Web Unlocker?

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

💬 留言讨论