当前位置: 首页 > Skill >

dataify-ebay-products

dataify-ebay-products

dataify-ebay-products

提交 Dataify eBay 产品信息构建器任务,适用于四种 eBay 产品采集模式。当用户需要收集 eBay 产品信息时使用。

1.2.0 2026.11.27 960
获取Skill文件查看使用说明
作 者:林安 许可证: 更新时间:2026.11.27
本文目录展开

Dataify eBay Products

Submit eBay product information collection jobs through Dataify Builder. This skill is a guided wrapper for four collection modes:

Mode Collector ID Use For
Product URL ebay_ebay_by-url Collecting one or more eBay products by product URL.
Category URL ebay_ebay_by-category-url Collecting eBay products by category URL.
Keyword ebay_ebay_by-keywords Collecting eBay products by search keyword.
Store URL ebay_ebay_by-listurl Collecting eBay products by store URL.

After a successful submission, give the user the task_id, the returned or inferred status, and tell them to visit Dataify to view results.

API TOKEN Handling

Use DATAIFY_API_TOKEN as the long-term saved token name.

  • If the user provides a token in the request, use it for this run.
  • If no token is provided, first check whether DATAIFY_API_TOKEN is already saved locally in the environment.
  • If DATAIFY_API_TOKEN is saved locally, use it without asking the user to re-enter the token.
  • If no token is available locally, tell the user they need to provide a Dataify API TOKEN.
  • If the user does not have an API TOKEN, tell them they can register or log in at Dataify to get one.
  • If the user already has an API TOKEN, tell them it is available in the top-right area of Dataify.
  • After the user provides an API TOKEN and no local DATAIFY_API_TOKEN is saved, ask whether they want to save it locally as DATAIFY_API_TOKEN for future use.
  • If the user wants to save it, give the appropriate command for their shell and ask them to run it; do not silently persist tokens without confirmation.
  • Do not call the Builder endpoint without a token.
  • Always call it API TOKEN in user-facing instructions. Prefer the environment variable name DATAIFY_API_TOKEN for saved local use.

PowerShell examples for saving the token for the current session:

$env:DATAIFY_API_TOKEN = "YOUR_DATAIFY_API_TOKEN"

For a persistent user-level variable on Windows:

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

Core Workflow

  1. First ask the user to choose a collection mode: url, category-url, keywords, or listurl.
  2. After the user chooses a mode, show only that mode's parameter table and defaults.
  3. Ask whether the user wants to change any value before running the task.
  4. Ask whether the user wants to collect multiple eBay product groups for the selected mode.
  5. Normalize the final values into a list of parameter objects for the selected mode only.
  6. Resolve the Dataify token from explicit input or saved DATAIFY_API_TOKEN.
  7. If no token is available, ask the user to enter their API TOKEN and ask whether to save it as DATAIFY_API_TOKEN.
  8. Validate the selected mode, URLs, keyword, numeric values, and file name.
  9. Submit the Builder request with the selected mode's spider_id.
  10. Read data.task_id from the Builder response and read data.status or status when present.
  11. Stop after Builder succeeds.
  12. Tell the user to visit Dataify to view or manage results.

Mode Selection

When the user invokes this skill, first show this Markdown table and ask them to choose one mode:

Label Value
Collect eBay products by product URL url
Collect eBay products by category URL category-url
Collect eBay products by keyword keywords
Collect eBay products by store URL listurl

Ask: "Which collection mode do you want to use: url, category-url, keywords, or listurl?"

Do not submit a Builder request until the mode is clear.

Product URL Mode Parameters

Use this section only when the user chooses url.

Field Required Default Location Notes
url Yes https://www.ebay.com/itm/187538926483?_skw=Apple&itmmeta=01K4KYKPQW7M913YDTWF9EJKQ4&hash=item2baa30eb93:g:VbMAAeSwtSRot5L8&itmprp=enc%3AAQAKAAAA4MHg7L1Zz0LA5DYYmRTS30kFPVExlz%2FTbUuctB71Yk%2FfQV0aiX%2BN2ICzGj8BIeYBUa7tIGv3VKEgsvuXC0PvIFFvjxEBfsALP5m0Rkcclb576wHpV5%2FGunXNmnt9grpWOipLuKMA0RDkORHa96xYJy8rg%2BYGIi2l2d0Iw2K%2FcLiqP7TlRBd1LsXAjnXShdLOq%2BFxcbaNCarcoIJ%2Fp5DgBLl5UK3WHBVGnpUQZqOMSz1JX0axUzL%2BxlVrnBGK0wekqYG6ShKyf5iRg5%2BY%2F35FueGxIeViMX5ZU5%2B8nFwIGsMl%7Ctkp%3ABFBMjOzO_qRm spider_parameters eBay product URL.
file_name No {{TasksID}} Builder form field Use the default when the user does not change it.

Then ask: "Do you want to change any of these values before I submit the task?"

Also ask: "Do you want to collect multiple eBay product URL groups? If yes, provide multiple url values."

Product URL mode handling:

  • url is required. If the user does not provide it, use the default only after showing it in the parameter confirmation table.
  • url must start with https://www.ebay.com/.
  • Submit spider_id=ebay_ebay_by-url.
  • Submit spider_parameters as a JSON string containing one or more objects like:
[{"url":"https://www.ebay.com/itm/187538926483?_skw=Apple&itmmeta=01K4KYKPQW7M913YDTWF9EJKQ4&hash=item2baa30eb93:g:VbMAAeSwtSRot5L8&itmprp=enc%3AAQAKAAAA4MHg7L1Zz0LA5DYYmRTS30kFPVExlz%2FTbUuctB71Yk%2FfQV0aiX%2BN2ICzGj8BIeYBUa7tIGv3VKEgsvuXC0PvIFFvjxEBfsALP5m0Rkcclb576wHpV5%2FGunXNmnt9grpWOipLuKMA0RDkORHa96xYJy8rg%2BYGIi2l2d0Iw2K%2FcLiqP7TlRBd1LsXAjnXShdLOq%2BFxcbaNCarcoIJ%2Fp5DgBLl5UK3WHBVGnpUQZqOMSz1JX0axUzL%2BxlVrnBGK0wekqYG6ShKyf5iRg5%2BY%2F35FueGxIeViMX5ZU5%2B8nFwIGsMl%7Ctkp%3ABFBMjOzO_qRm"}]

Category URL Mode Parameters

Use this section only when the user chooses category-url.

Field Required Default Location Notes
url Yes https://www.ebay.com/b/Collectible-Japanese-Bells-1900-Now/165467/bn_3104829 spider_parameters eBay category URL.
Count No 60 spider_parameters Count field required by this collector. Must be an integer greater than or equal to 0.
count No 60 spider_parameters Quantity field. Must be an integer greater than or equal to 0.
file_name No {{TasksID}} Builder form field Use the default when the user does not change it.

Then ask: "Do you want to change any of these values before I submit the task?"

Also ask: "Do you want to collect multiple eBay category URL groups? If yes, provide multiple groups with url, Count, and count."

Category URL mode handling:

  • url is required. If the user does not provide it, use the default https://www.ebay.com/b/Collectible-Japanese-Bells-1900-Now/165467/bn_3104829 only after showing it in the parameter confirmation table.
  • url must start with https://www.ebay.com/.
  • Count must be an integer greater than or equal to 0.
  • count must be an integer greater than or equal to 0.
  • Submit both Count and count exactly as separate fields.
  • Submit spider_id=ebay_ebay_by-category-url.
  • Submit spider_parameters as a JSON string containing one or more objects like:
[{"url":"https://www.ebay.com/b/Collectible-Japanese-Bells-1900-Now/165467/bn_3104829","Count":"60","count":"60"}]

Keyword Mode Parameters

Use this section only when the user chooses keywords.

Field Required Default Location Notes
keywords Yes baby toys spider_parameters eBay search keyword.
count No 60 spider_parameters Quantity field. Must be an integer greater than or equal to 0.
file_name No {{TasksID}} Builder form field Use the default when the user does not change it.

Then ask: "Do you want to change any of these values before I submit the task?"

Also ask: "Do you want to collect multiple eBay keyword groups? If yes, provide multiple groups with keywords and count."

Keyword mode handling:

  • keywords is required. If the user does not provide it, use the default baby toys only after showing it in the parameter confirmation table.
  • keywords cannot be empty.
  • count must be an integer greater than or equal to 0.
  • Submit spider_id=ebay_ebay_by-keywords.
  • Submit spider_parameters as a JSON string containing one or more objects like:
[{"keywords":"baby toys","count":"60"}]

Store URL Mode Parameters

Use this section only when the user chooses listurl.

Field Required Default Location Notes
url Yes https://www.ebay.com/str/kptradingdeals?_trksid=p4429486.m145687.l149086 spider_parameters eBay store URL.
count No 60 spider_parameters Quantity field. Must be an integer greater than or equal to 0.
file_name No {{TasksID}} Builder form field Use the default when the user does not change it.

Then ask: "Do you want to change any of these values before I submit the task?"

Also ask: "Do you want to collect multiple eBay store URL groups? If yes, provide multiple groups with url and count."

Store URL mode handling:

  • url is required. If the user does not provide it, use the default https://www.ebay.com/str/kptradingdeals?_trksid=p4429486.m145687.l149086 only after showing it in the parameter confirmation table.
  • url must start with https://www.ebay.com/.
  • count must be an integer greater than or equal to 0.
  • Submit spider_id=ebay_ebay_by-listurl.
  • Submit spider_parameters as a JSON string containing one or more objects like:
[{"url":"https://www.ebay.com/str/kptradingdeals?_trksid=p4429486.m145687.l149086","count":"60"}]

Shared File Name Handling

  • file_name defaults to {{TasksID}}.
  • If the user changes file_name, submit the user-provided value.
  • file_name cannot be empty.
  • Send file_name as a Builder form field.

Dataify Builder Request

Use form fields rather than hand-built URL-encoded strings.

  • URL: https://scraperapi.dataify.com/builder?platform=1
  • Method: POST
  • Authorization header: Bearer DATAIFY_API_TOKEN
  • Content type: application/x-www-form-urlencoded
  • Fixed fields:
    • spider_name=ebay.com
    • spider_errors=true
  • Mode-specific field:
    • Product URL mode: spider_id=ebay_ebay_by-url
    • Category URL mode: spider_id=ebay_ebay_by-category-url
    • Keyword mode: spider_id=ebay_ebay_by-keywords
    • Store URL mode: spider_id=ebay_ebay_by-listurl
  • Default field:
    • file_name={{TasksID}}
  • Dynamic field:
    • spider_parameters must be a JSON string array.

Script

For stable execution, prefer scripts/submit_dataify_ebay_products.py with Python 3.6 or newer instead of rewriting the Builder flow.

Product URL mode:

python3 ".scriptssubmit_dataify_ebay_products.py" --mode url --url "https://www.ebay.com/itm/187538926483?_skw=Apple&itmmeta=01K4KYKPQW7M913YDTWF9EJKQ4&hash=item2baa30eb93:g:VbMAAeSwtSRot5L8&itmprp=enc%3AAQAKAAAA4MHg7L1Zz0LA5DYYmRTS30kFPVExlz%2FTbUuctB71Yk%2FfQV0aiX%2BN2ICzGj8BIeYBUa7tIGv3VKEgsvuXC0PvIFFvjxEBfsALP5m0Rkcclb576wHpV5%2FGunXNmnt9grpWOipLuKMA0RDkORHa96xYJy8rg%2BYGIi2l2d0Iw2K%2FcLiqP7TlRBd1LsXAjnXShdLOq%2BFxcbaNCarcoIJ%2Fp5DgBLl5UK3WHBVGnpUQZqOMSz1JX0axUzL%2BxlVrnBGK0wekqYG6ShKyf5iRg5%2BY%2F35FueGxIeViMX5ZU5%2B8nFwIGsMl%7Ctkp%3ABFBMjOzO_qRm"

Category URL mode:

python3 ".scriptssubmit_dataify_ebay_products.py" --mode category-url --url "https://www.ebay.com/b/Collectible-Japanese-Bells-1900-Now/165467/bn_3104829" --count "60"

Keyword mode:

python3 ".scriptssubmit_dataify_ebay_products.py" --mode keywords --keywords "baby toys" --count "60"

Store URL mode:

python3 ".scriptssubmit_dataify_ebay_products.py" --mode listurl --url "https://www.ebay.com/str/kptradingdeals?_trksid=p4429486.m145687.l149086" --count "60"

To override the saved environment token or file name:

python3 ".scriptssubmit_dataify_ebay_products.py" --api-token "YOUR_DATAIFY_API_TOKEN" --mode keywords --keywords "baby toys" --file-name "{{TasksID}}"

To submit multiple product URL groups:

python3 ".scriptssubmit_dataify_ebay_products.py" --mode url --params-json '[{"url":"https://www.ebay.com/itm/187538926483?_skw=Apple&itmmeta=01K4KYKPQW7M913YDTWF9EJKQ4&hash=item2baa30eb93:g:VbMAAeSwtSRot5L8&itmprp=enc%3AAQAKAAAA4MHg7L1Zz0LA5DYYmRTS30kFPVExlz%2FTbUuctB71Yk%2FfQV0aiX%2BN2ICzGj8BIeYBUa7tIGv3VKEgsvuXC0PvIFFvjxEBfsALP5m0Rkcclb576wHpV5%2FGunXNmnt9grpWOipLuKMA0RDkORHa96xYJy8rg%2BYGIi2l2d0Iw2K%2FcLiqP7TlRBd1LsXAjnXShdLOq%2BFxcbaNCarcoIJ%2Fp5DgBLl5UK3WHBVGnpUQZqOMSz1JX0axUzL%2BxlVrnBGK0wekqYG6ShKyf5iRg5%2BY%2F35FueGxIeViMX5ZU5%2B8nFwIGsMl%7Ctkp%3ABFBMjOzO_qRm"},{"url":"https://www.ebay.com/itm/187538926483?_skw=Apple&itmmeta=01K4KYKPQW7M913YDTWF9EJKQ4&hash=item2baa30eb93:g:VbMAAeSwtSRot5L8&itmprp=enc%3AAQAKAAAA4MHg7L1Zz0LA5DYYmRTS30kFPVExlz%2FTbUuctB71Yk%2FfQV0aiX%2BN2ICzGj8BIeYBUa7tIGv3VKEgsvuXC0PvIFFvjxEBfsALP5m0Rkcclb576wHpV5%2FGunXNmnt9grpWOipLuKMA0RDkORHa96xYJy8rg%2BYGIi2l2d0Iw2K%2FcLiqP7TlRBd1LsXAjnXShdLOq%2BFxcbaNCarcoIJ%2Fp5DgBLl5UK3WHBVGnpUQZqOMSz1JX0axUzL%2BxlVrnBGK0wekqYG6ShKyf5iRg5%2BY%2F35FueGxIeViMX5ZU5%2B8nFwIGsMl%7Ctkp%3ABFBMjOzO_qRm"}]'

The script prints a JSON summary with mode, spider_id, task_id, status, parameters, file_name, dashboard_url, and message.

Troubleshooting

Missing Dataify API TOKEN means no explicit token was passed and DATAIFY_API_TOKEN is not saved locally. Tell the user they need to provide their Dataify API TOKEN, ask whether they want to save it as DATAIFY_API_TOKEN, or tell them they can register or log in at Dataify to get one. If they already have a token, tell them it is in the top-right area of Dataify.

Unsupported mode means the mode must be url, category-url, keywords, or listurl.

url must start with https://www.ebay.com/ means the URL is outside the allowed eBay domain.

keywords cannot be empty means the keyword is missing.

Count must be an integer greater than or equal to 0 means the category Count field is invalid.

count must be an integer greater than or equal to 0 means the quantity field is invalid.

File name cannot be empty means no usable file_name was provided.

Necessary parameters is empty! usually means the Builder request was not submitted as form fields, spider_parameters was not a JSON string array, or the selected mode's object is missing required fields.

Missing task_id usually means the authorization header, token, spider_name, selected spider_id, or spider_parameters is wrong.

Guardrails

  • Do not mix Product URL, Category URL, Keyword, and Store URL mode parameters in the same Builder request.
  • Do not submit a Builder request until the mode is clear.
  • Do not put file_name inside spider_parameters.
  • Do not use an eBay URL from outside https://www.ebay.com/.
  • Use only API TOKEN and DATAIFY_API_TOKEN when referring to authentication.
  • Do not hard-code local Python paths.
  • Do not invent result fields.
  • Always direct the user to Dataify after successful task creation.

推荐文章

更多
PHP时间戳与日期字符串相互转换方法详解

本文介绍PHP中时间数值(Unix时间戳)与日期字符串之间的相互转换方法。通过strtotime和date函数,实现将当前时间、指定日期转换为时间戳,以及将时间戳格式化为可读的日期时间字符串,并提供相关在线计算工具推荐。

2025.11.30 1,034
PHP日期转时间戳时区偏差怎么解决

在 PHP 中将日期字符串转换为时间戳时,若未显式指定时区,默认使用脚本配置的 date.timezone 或系统时区。当服务器时区与业务逻辑预期(如 UTC )不一致时,会产生偏差。解决核心是确保输入字符串携带明确时区信息,或在转换前统一设置时区上下文。

2026.10.24 1,031
PHP跨域配置:怎么安全地允许指定域名而非使用通配符

在 PHP 中安全地允许指定域名跨域,核心是解析请求头中的 Origin ,验证其是否在白名单内,然后动态设置 Access-Control-Allow-Origin 响应头。不要使用通配符 * ,也不要硬编码单一域名。

2025.03.29 1,019
JavaScript中利用replace结合正则实现replaceAll效果

JavaScript原生仅支持replace()进行单次或全局替换,缺乏类似Java的replaceAll()便捷方法。本文总结四种在JS中实现全量替换的方案:使用带g标志的正则、带gm标志的正则、扩展String原型以及split后join。通过对比代码示例,展示各方法的实现细节与适用场景,帮助开发者根据需求选择最优解。

2025.04.29 1,017
PHP实现基础文件上传:HTML表单与$_FILES处理流程

在 HTML 表单中设置 enctype="multipart/form-data" ,并在 PHP 后端通过 $_FILES 数组接收文件,调用 move_uploaded_file() 将临时文件移动到目标目录即可完成上传。

2026.09.07 1,014
OpenAI的Jalapeno芯片未落地,教你分辨300兆瓦算力消息

OpenAI计划在SB Energy租赁的数据中心部署约300兆瓦自研Jalapeno推理芯片,但目前双方仍处于洽谈阶段,交易细节与上线时间表均未公布。本文带你按报道原文核实项目所处阶段,厘清芯片发布、电力功率与实际推理算力的边界,并将融资意向与签约、开工、投运节点分开追踪,避免误将规划容量计入现有算力。

2026.12.02 1,013
Skill 文件
  • SKILL.md
    • Dataify eBay Products
    • API TOKEN Handling
    • Core Workflow
    • Mode Selection
    • Product URL Mode Parameters
    • Category URL Mode Parameters
    • Keyword Mode Parameters
    • Store URL Mode Parameters
    • Shared File Name Handling
    • Dataify Builder Request
    • Script
    • Troubleshooting
    • Guardrails
  • 项目或源文件

相关 Skill

更多
service-qa-coach service-qa-coach Review support quality for chat, email, phone, social DM, or marketplace service teams. Use when a team needs a QA scorecard, failure-mode analysis, coaching plan, calibration checklist, or service-improvement brief without live ticketing, CRM, or contact-center system access.
高中数学作业批改助手 高中数学作业批改助手 >图片识别 直接读取学生手写作答照片,识别公式、符号、步骤 🧮 自动推导 根据题目自动生成参考答案和评分细则,无需教师预设 📊 逐步给分 每个关键步骤独立评分,体现过程分 📝 结构化报告 输出含识别内容、参考答案、逐步评分、改进建议的完整报告 🗂 批量批改 支持一次性批改多道题,最终汇总得分表
Vibration Analysis Vibration Analysis 分析来自CMS趋势、RMS/峰值、频谱及SCADA报警的风机传动链(主轴、齿轮箱、发电机)振动数据。
Traditional Bone Tool Making Basics Traditional Bone Tool Making Basics Use when you need custom, durable, repairable tools like awls, needles, scrapers, harpoons, or fishing hooks made from local animal bones or antlers and comm...
音频混音工具 音频混音工具 名称:Sound Mixing Tool(标识 sound-mixing-tool) 短简介(≤60字):音乐/音效响度精确对齐 + 融合混音工作流:用 ffmpeg 两段式 loudnorm 把多组素材 LUFS 偏差压到 <0.10,再最小干预融合、导出可进引擎的独立分轨。 标签/关键词:音频混音 响度匹配 LUFS ffmpeg 游戏音频 音效设计 Wwise FMOD 分轨导出 后期处理 触发词:混音 · 响度匹配 · LUFS 对齐 · MIX 版本 · 音乐音效分轨 · 融合 · 不打架 · 不能盖住 适用场景 :游戏音频集成、影视短视频配乐、播客后期