提交 Dataify eBay 产品信息构建器任务,适用于四种 eBay 产品采集模式。当用户需要收集 eBay 产品信息时使用。
Submit eBay product information collection jobs through Dataify Builder. This skill is a guided wrapper for four collection modes:
ModeCollector IDUse ForProduct URLebay_ebay_by-urlCollecting one or more eBay products by product URL.Category URLebay_ebay_by-category-urlCollecting eBay products by category URL.Keywordebay_ebay_by-keywordsCollecting eBay products by search keyword.Store URLebay_ebay_by-listurlCollecting eBay products by store URL.
After submission, continue monitoring the returned task_id and return the final result by default.
Use DATAIFY_API_TOKEN as the long-term saved token name.
DATAIFY_API_TOKEN is saved locally, use it without asking the user to re-enter the token.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:
powershell
$env:DATAIFY_API_TOKEN = "YOUR_DATAIFY_API_TOKEN"
For a persistent user-level variable on Windows:
powershell
[Environment]::SetEnvironmentVariable("DATAIFY_API_TOKEN", "YOUR_DATAIFY_API_TOKEN", "User")
url, category-url, keywords, or listurl.spider_id.data.task_id from the Builder response and read data.status or status when present.When the user invokes this skill, first show this Markdown table and ask them to choose one mode:
LabelValueCollect eBay products by product URLurlCollect eBay products by category URLcategory-urlCollect eBay products by keywordkeywordsCollect eBay products by store URLlisturl
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.
file_name defaults to {{TasksID}}.file_name, submit the user-provided value.file_name cannot be empty.file_name as a Builder form field.For detailed mode schemas and advanced fields, read references/modes-and-parameters.md only when needed.
Use form fields rather than hand-built URL-encoded strings.
https://scraperapi.dataify.com/builder?platform=1POSTBearer DATAIFY_API_TOKENapplication/x-www-form-urlencodedspider_name=ebay.comspider_errors=truespider_id=ebay_ebay_by-urlspider_id=ebay_ebay_by-category-urlspider_id=ebay_ebay_by-keywordsspider_id=ebay_ebay_by-listurlfile_name={{TasksID}}spider_parameters must be a JSON string array.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:
powershell
python3 ".\scripts\submit_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:
powershell
python3 ".\scripts\submit_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:
powershell
python3 ".\scripts\submit_dataify_ebay_products.py" --mode keywords --keywords "baby toys" --count "60"
Store URL mode:
powershell
python3 ".\scripts\submit_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:
powershell
python3 ".\scripts\submit_dataify_ebay_products.py" --mode keywords --keywords "baby toys" --file-name "{{TasksID}}"
To submit multiple product URL groups:
powershell
python3 ".\scripts\submit_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 and message.
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.
file_name inside spider_parameters.https://www.ebay.com/.API TOKEN and DATAIFY_API_TOKEN when referring to authentication.The default deliverable is the collected result, not only a task_id.
Submit the Builder task once and capture its task_id.
Immediately continue with $dataify-task-operations and monitor the same task ID.
--timeout 1800 for media downloads or clearly high-volume, multi-page, or multi-input collections.When the task succeeds, download and return the final JSON result. Summarize large payloads while preserving access to the raw result.
If monitoring times out or is interrupted, return the task ID and a resume command. Do not resubmit the paid task.
Stop after submission only when the user explicitly asks for submission only, a task ID, or --no-wait behavior.
bash
python3 scripts/submit_dataify_ebay_products.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.