URL

抓取您选择的任意 Bed Bath & Beyond URL。

你可以通过使用我们的服务提供你自己的 URL 来获取 Bed Bath & Beyond 结果,使用 bedbathandbeyond source。API 会返回你想要的任何 Bed Bath & Beyond 页面对应的 HTML。

请求示例

下面的示例说明了如何获取 Bed Bath & Beyond 页面。

curl 'https://realtime.oxylabs.io/v1/queries' \
--user 'USERNAME:PASSWORD' \
-H 'Content-Type: application/json' \
-d '{
        "source": "bedbathandbeyond",
        "url": "https://www.bedbathandbeyond.com/bathroom-rugs,/k,/results.html"
    }'

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

请求参数值

通用

参数
说明
默认值

source

设置爬虫。

bedbathandbeyond

url

指向任何页面的直接 URL(链接)。

-

render

设置为 html. 更多信息.

-

callback_url

您的回调端点 URL。 更多信息.

-

user_agent_type

设备类型和浏览器。完整列表可在 这里.

desktop

- 必填参数

最后更新于

这有帮助吗?