电商本地化

了解如何抓取针对特定配送和门店位置的电商数据。

我们的 网页爬虫 API 提供 本地化 选项,以检索针对特定送货和门店位置定制的电商数据。本页说明如何使用 geo_locationstore_id 和其他参数使结果与本地可用性和偏好一致。

网站特定的本地化支持

域名
地理位置 / 交付
门店 ID
履约类型

-

支持

-

邮政编码

支持

支持

邮政编码

支持

支持

邮政编码

支持

支持

邮政编码

支持

-

-

支持

-

-

支持

支持

-

支持

-

邮政编码

支持

支持

邮政编码

支持

支持

邮政编码或国家

支持

-

邮政编码或国家

支持

支持

Allegro

将结果调整为特定门店、送货位置等。

设置 delivery_type
设置 shipping_from 位置
设置 store_city 和 store_region
参数
说明
类型

delivery_time

设置交付日期。可用值为: one_day, two_days.

String

shipping_from

设置发货地点。可用值为: china, czech, poland, hungary, slovakia, eu_countries, allegro_warehouse.

String

store_city

设置购物门店所在城市。

String

store_region

设置发货门店的区域。可用值为:

String

Amazon

使用 geo_location 参数可根据交付偏好自定义 Amazon 结果,如下图所示:

对于大多数 Amazon 域,您可以设置 geo_location 为邮编/邮政编码或 两位字母国家代码arrow-up-right。除少数情况外,此方法涵盖两种主要的本地化场景:

  • 使用 邮编/邮政编码 用于以下位置 位于 市场所在国家。例如配对:

    • { "domain": "com", "geo_location": "90210" }

    • { "domain": "co.uk", "geo_location": "W105LT" }

  • 使用 两位字母国家代码 用于以下位置 在……之外 市场所在国家。例如配对:

    • { "domain": "com", "geo_location": "LT" }

    • { "domain": "de", "geo_location": "US" }

例外情况

  • 不支持的域名: cn, com.tr, com.be,和 nl 不支持自定义交付位置。

  • 特殊情况:

    • 澳大利亚(com.au):仅接受澳大利亚邮编。

    • 阿联酋(.ae):接受阿联酋城市名称作为 geo_location,例如, "geo_location": "Abu Dhabi",或两位字母国家代码。

circle-info

您也可以在抓取 Amazon 时使用 domainlocale 参数。了解更多 此处.

Bestbuy

将结果调整为特定域、门店、交付位置。

参数
说明
默认值
类型

domain

Bestbuy 的域名本地化。可用值: com, ca.

com

String

store_id

指定一个门店。

-

整数

delivery_zip

设置交付邮编位置。

-

String

fulfillment_type

指定订单履约方式。可用值: pickup, shipping

-

String

Etsy

将结果调整为特定门店、交付位置。

选择 store_id
选择交付位置
参数
说明
类型

store_id

指定一个门店。

整数

geo_location

设置发货至的位置邮编。

String

Kroger

参数
说明
默认值
依赖项

store_id

指定一个门店。请参见可用值 此处arrow-up-right。ID 必须以 '0' 开头。

-

当设置为时为必需 fulfillment_type 被设置为 pickupin_store.

delivery_zip

指定交付位置邮政编码。

-

当设置为时为必需 fulfillment_type 被设置为 delivery.

fulfillment_type

指定订单履约方式。可用值: pickup, delivery, in_store.

pickup (如果仅提供 store_id

需要 store_id 用于 pickupin_store,或 delivery_zip 用于 delivery.

依赖关系说明:

  • pickupin_store 值使用 store_id 参数来确定正确的门店。

  • delivery 使用 delivery_zip 参数来指定交付位置。

  • 如果仅提供 store_id ,且未指定 fulfillment_type ,则默认类型为 pickup.

circle-exclamation
circle-exclamation

Lowe's

选择 store_id
参数
说明
类型

store_id

指定一个门店。

整数

delivery_zip

指定交付位置邮政编码。

String

Menards

将结果调整为特定门店、可用性选项。

选择 store_id
选择可用性选项
参数
说明
类型

store_id

指定一个门店。

String

pickup_at_store_eligible

门店可取货。

布尔值

in_stock_today

商品今日有库存。

布尔值

fulfillment_center

订单可从 Menards 集中仓库发货。

布尔值

delivery_eligible

商品符合上门送货服务。

布尔值

Petco

将结果调整为特定门店、履约类型。

选择 store_id
选择 fulfillment_type
参数
说明
类型

store_id

指定一个门店。

String

fulfillment_type

指定订单履约方式。可用值为: repeat_delivery, free_pickup_today, same_day_delivery.

布尔值

Publix

根据门店位置调整 Publix 结果。

参数
说明
类型

store_id

指定一个门店。请参见 可用值在此处arrow-up-right.

整数

Target

选择 geo_location 和 store_id
选择 fulfillment_type
参数
说明
类型

store_id

指定一个门店。

String

fulfillment_type

指定订单履约方式。可用值为: pickup, shop_in_store, same_day_delivery, shipping.

布尔值

The Home Depot

使用 geo_location 参数通过以下方式设置交付位置: 邮政编码country.

您也可以在 store_id 参数中添加 context 以获取门店特定数据。门店 ID 必须是 4 位数字。例如,如果门店 ID 是 3 位数字,请在前面加一个零(例如 618 -> 0618)。在此处查找 Home Depot 门店 ID 列表 此处arrow-up-right.

Walmart

使用 delivery_zip 参数以根据 指定 Walmart 交付位置 邮政编码.

您也可以在 store_id 参数用于门店特定数据。在此处查找 Walmart 门店 ID 列表:

Walmart 门店的官方页面为 此处arrow-up-right.

国际 Walmart 域名

下列 Walmart 域也支持本地化。使用 delivery_zipstore_id 作为上下文参数来设置交付或自提位置并定位特定门店。

对于 walmart.com, walmart.com.mx,和 walmart.ca,您也可以传递 fulfillment_type 作为上下文参数来设置履约方式。

域名
支持的履约类型

walmart.com

pickup, delivery, shipping

walmart.com.mx

pickup, delivery

walmart.ca

pickup, delivery

walmart.co.cr

pickup

查找每个域的可用 store_id 值如下:

对于 walmart.co.cr,履约类型始终为 pickup。使用 delivery_zipstore_id 来定位特定位置。

查找每个域的可用 store_id 下列为哥斯达黎加区域的可用值:

Bodega Aurrerá

使用 delivery_zip 参数用于为 仅限 域通过邮政编码设置交付或自提位置。您也可以使用 despensa.bodegaaurrera.com.mx 指定门店,并使用 store_id 选择履约方式。 fulfillment_type.

参数
说明
类型

delivery_zip

设置配送或自取位置。接受墨西哥邮政编码。

String

store_id

指定一个门店。

String

fulfillment_type

设置履约方式。可用值: pickup, delivery.

String

请在下方找到可用的 Bodega Aurrerá 门店 ID:

Sam's Club

两者均支持本地化 samsclub.com (美国)和 sams.com.mx (墨西哥)。使用 delivery_zipstore_id 上下文参数来设置交付或自提位置并定位特定门店。使用 fulfillment_type 来选择履约方式。

参数
说明
类型

delivery_zip

设置交付或自提位置。

String

store_id

指定一个门店。

String

fulfillment_type

设置履约方式。可用值: delivery, pickup, shipping.

默认: pickup.

String

查找每个域的可用 store_id 值如下:

最后更新于

这有帮助吗?