Skip to main content

商品搜索助手使用说明

欢迎使用商品搜索助手!本工具帮助您在淘宝上搜索特定商品,并提供商品的基本信息和截图。请根据以下说明进行操作。

使用说明

一定要输入预先提示词!!!才会更好的执行!!!

预先输入提示词!!!


忽略上下文,你是一名商品搜索助手,给我提供商品的基本信息和截图,具体要求如下:

  1. 搜索关键词:[用户输入关键词]
  2. 价格区间:[用户输入最低价]元 到 [用户输入最高价]元
  3. 需要获取的商品数量:[用户输入数量]个

请使用淘宝搜索工具执行以下操作:

  • 在淘宝搜索指定关键词
  • 筛选指定价格区间的商品
  • 打开前N个商品详情页并截图
  • 返回每个商品的链接,并将图片直接展示在对话区,加个感叹号,用 Markdown 图片语法显示
  • 对返回的图片商品进行识别出名称和价格,不要虚构!!一定是图中有的,并且简要分析作用性价比实用程度

请按以下顺序一步步执行: 第一步:先调用 search_and_filter 搜索关键词"电脑主机",并且悬停鼠标到”区间“按钮以显示筛选价格框 第二步:接着调用 fill_price_filter 筛选价格5000-6000元 第三步:调用 get_top_product_links 获取3个链接 第四步:最后调用capture_specs_area来进行截图并返回给用户 请等待前一步完成后再进行下一步

最终给我一个包含商品标题、价格、链接和可点开查看截图的列表。


您将需要输入以下信息,以便助手能够为您执行所需的商品搜索:

  1. 搜索关键词:例如 “电脑主机”
  2. 价格区间:如 “5000” 元 到 “6000” 元
  3. 需要获取的商品数量:如 “3” 个

操作步骤

  1. 命令行启动chrome浏览器:

    • 你需要先指定窗口(命令行输入):"C:\Program Files\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9222 --user-data-dir="C:\chrome_debug_temp"
  2. 手动打开淘宝并登录:登录淘宝

  3. 开始提问:例如:帮我上淘宝搜索”圣诞礼物“,价格区间为100-300元,帮我找出3个商品并返回给我

函数内部执行逻辑

  1. 调用 search_and_filter:

    • 输入您想要搜索的关键词。
    • 悬停鼠标到“区间”按钮以显示筛选价格框。
  2. 调用 fill_price_filter:

    • 输入您希望筛选的价格区间。例如,从最低价 “5000” 元到最高价 “6000” 元。
  3. 调用 get_top_product_links:

    • 获取您指定数量的商品链接,例如获取 “3” 个商品链接。
  4. 调用 capture_specs_area:

    • 对每个商品详情页进行截图,并返回给用户查看。

助手将执行以下操作:

  1. 搜索关键词:

    • 调用 search_and_filter("圣诞礼物"),悬停到“区间”按钮。
  2. 筛选价格区间:

    • 调用 fill_price_filter(100, 300)。
  3. 获取商品链接:

    • 调用 get_top_product_links(3)。
  4. 截图商品详情:

    • 调用 capture_specs_area()。

最终输出格式

助手将为您提供以下格式的输出列表:

1. 商品标题:XXXX
   价格:XXXX元
   链接:[商品链接]
   可查看截图:[点击这里]

2. 商品标题:XXXX
   价格:XXXX元
   链接:[商品链接]
   可查看截图:[点击这里]

3. 商品标题:XXXX
   价格:XXXX元
   链接:[商品链接]
   可查看截图:[点击这里]

Metadata

Release files for private-mizutsune 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for private-mizutsune 0.1.4
File Size Uploaded Provenance Actions
private_mizutsune-0.1.4.tar.gz 5.6 kB Without provenance Details for private_mizutsune-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for private-mizutsune 0.1.4
File Interpreter ABI Platform Actions
private_mizutsune-0.1.4-py3-none-any.whl Python 3 none any Details for private_mizutsune-0.1.4-py3-none-any.whl

Total release size: 12.4 kB

Release files / private_mizutsune-0.1.4.tar.gz

Download URL private_mizutsune-0.1.4.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
726958f022494082fdd74f8c978891753f6755c083739481768350b0e59835ab
BLAKE2b-256 checksum
How to use checksums
57b67ac8d140170a23f0a9b59c23e5136cdc52c5c111374f193c9d8b65a15344
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / private_mizutsune-0.1.4-py3-none-any.whl

Download URL private_mizutsune-0.1.4-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dd3e5b1b93a145ef5c44e416148c25de001a4e53d22a6a27b358276dfa737b97
BLAKE2b-256 checksum
How to use checksums
f2dd2045da969e261fe182401079c886cd78b27350340446311b454d8b64a23b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for private-mizutsune 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page