Documentation has been updated: see help center and changelog in one place.

Bed Bath & Beyond

抓取 Bed Bath & Beyond 的搜索和产品页面。查找多种编程语言的全面代码示例。

使用 网页爬虫 API,您可以抓取各种类型的 Bed Bath & Beyond 页面;下面是所有受支持爬虫及其相应 source 值的概述。

来源
说明

bedbathandbeyond_search

搜索页面 用于您选择的搜索词。

bedbathandbeyond_product

商品页面 用于您选择的商品 ID。

bedbathandbeyond

提交任何 Bed Bath & Beyond URL 您想要的。

快速开始

创建您的 API 用户凭证:在 Oxylabs 仪表板 注册试用或购买产品以创建您的 API 用户凭证(USERNAMEPASSWORD).

请求示例

curl 'https://realtime.oxylabs.io/v1/queries' \
--user 'USERNAME:PASSWORD' \
-H 'Content-Type: application/json' \
-d '{
        "source": "bedbathandbeyond_search", 
        "query": "table"
    }'

我们在示例中使用同步 Realtime 集成方法。如果您想使用 Proxy Endpoint 或异步 Push-Pull 集成,请参阅 集成方法 部分。

可选地,您可以包含其他参数,例如 user_agent_type, render,以及更多以自定义您的抓取请求。阅读更多:

功能

最后更新于

这有帮助吗?