> For the complete documentation index, see [llms.txt](https://developers.oxylabs.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.oxylabs.io/products/cn/web-scraper-api/features/localization/domain-locale.md).

# 域名和地区

此页面指导你配置用于抓取 Amazon、Google 和 Bing 的内容本地化参数。这些设置有助于自定义 marketplace 或顶级域名（TLD）以及搜索结果，以便准确提取特定地区的数据。

## **Amazon**

### 域名

使用 `域名` 用于指定你想抓取哪个 Amazon marketplace 的参数。

| 域名       | Marketplace |
| -------- | ----------- |
| `ae`     | 阿联酋         |
| `ca`     | 加拿大         |
| `cn`     | 中国          |
| `co.jp`  | 日本          |
| `co.uk`  | 英国          |
| `com`    | 美国          |
| `com.au` | 澳大利亚        |
| `com.be` | 比利时         |
| `com.br` | 巴西          |
| `com.mx` | 墨西哥         |
| `com.tr` | 土耳其         |
| `de`     | 德国          |
| `eg`     | 埃及          |
| `es`     | 西班牙         |
| `fr`     | 法国          |
| `ie`     | 爱尔兰         |
| `在`      | 印度          |
| `it`     | 意大利         |
| `nl`     | 荷兰          |
| `pl`     | 波兰          |
| `sa`     | 沙特阿拉伯       |
| `se`     | 瑞典          |
| `sg`     | 新加坡         |

### 区域设置

使用 `locale` 用于设置界面语言的参数。&#x20;

并非所有 Amazon marketplaces 都允许设置界面语言，而且各 marketplace 支持的语言不同。下表列出了受支持的 `域名` 和 `locale` 值组合。其中一些语言标记为默认值。如果你想获取默认界面语言，就不需要发送 `locale` 参数。

| 域名       | 区域设置    | 界面语言        |
| -------- | ------- | ----------- |
| `ae`     | `en_AE` | 英语（英国）（默认）  |
| `ae`     | `ar_AE` | 阿拉伯语        |
| `ca`     | `fr_CA` | 法语          |
| `ca`     | `en_CA` | 英语（英国）（默认）  |
| `cn`     | `zh_CN` | 中文（简体，PRC）  |
| `co.jp`  | `ja_JP` | 日语（默认）      |
| `co.jp`  | `en_US` | 英语（英国）      |
| `co.jp`  | `zh_CN` | 中文          |
| `co.uk`  | `en_GB` | 英语（英国）      |
| `com`    | `en_US` | 英语（英国）（默认）  |
| `com`    | `es_US` | 西班牙语        |
| `com`    | `ar_AE` | 阿拉伯语        |
| `com`    | `de_US` | 德语          |
| `com`    | `he_IL` | 希伯来语        |
| `com`    | `ko_KR` | 韩语          |
| `com`    | `pt_BR` | 葡萄牙语        |
| `com`    | `zh_CN` | 中文          |
| `com`    | `zh_TW` | 台湾语         |
| `com.au` | `en_AU` | 英语（澳大利亚）    |
| `com.be` | `fr_BE` | 法语          |
| `com.be` | `nl_BE` | 荷兰语         |
| `com.be` | `en_GB` | 英语（英国）      |
| `com.br` | `pt_BR` | 葡萄牙语（巴西）    |
| `com.mx` | `es_MX` | 西班牙语（墨西哥）   |
| `com.tr` | `tr_TR` | 土耳其语        |
| `de`     | `de_DE` | 德语（默认）      |
| `de`     | `en_GB` | 英语（英国）      |
| `de`     | `cs_CZ` | 捷克语         |
| `de`     | `nl_NL` | 荷兰语         |
| `de`     | `pl_PL` | 波兰语         |
| `de`     | `tr_TR` | 土耳其语        |
| `de`     | `da_DK` | 丹麦语         |
| `eg`     | `ar_AE` | 阿拉伯语（默认）    |
| `eg`     | `en_AE` | 英语（英国）      |
| `es`     | `es_ES` | 西班牙语（默认）    |
| `es`     | `pt_PT` | 葡萄牙语        |
| `es`     | `en_GB` | 英语（英国）      |
| `fr`     | `en_GB` | 英语（英国）      |
| `fr`     | `fr_FR` | 法语（默认）      |
| `ie`     | `en_IE` | 爱尔兰语（盖尔语）   |
| `在`      | `en_IN` | 英语（英国）（默认）  |
| `在`      | `hi_IN` | 印地语         |
| `在`      | `ta_IN` | 泰米尔语        |
| `在`      | `te_IN` | 泰卢固语        |
| `在`      | `kn_IN` | 卡纳达语        |
| `在`      | `ml_IN` | 马拉雅拉姆语      |
| `在`      | `bn_IN` | 孟加拉语        |
| `在`      | `mr_IN` | 马拉地语        |
| `it`     | `en_GB` | 英语（英国）      |
| `it`     | `it_IT` | 意大利语（默认）    |
| `nl`     | `nl_NL` | 荷兰语（默认）     |
| `nl`     | `en_GB` | 英语（英国）      |
| `pl`     | `pl_PL` | 波兰语（默认）     |
| `sa`     | `ar_AE` | 阿拉伯语（默认）    |
| `sa`     | `en_AE` | 英语（英国）      |
| `se`     | `sv_SE` | 瑞典语（默认）     |
| `se`     | `en_GB` | 英语（英国）      |
| `sg`     | `en_SG` | 英语（新加坡）（默认） |

## Google

### 区域设置 <a href="#locale" id="locale"></a>

使用 `locale` 用于设置 **Google Search 网页界面语言的参数**.&#x20;

例如，如果你目标是 `com` 域名和 locale 参数 `de-DE`，结果仍然会是美国结果，但 `Accept-Language` 标头值将被设置为 `de-DE,de;q=0.8`。这会模拟一位来自美国、在 `com` 域名上搜索且浏览器界面语言设置为德语的用户。

如果你不使用此参数，我们会将 'Accept-Language' 参数设置为与域名匹配（即 `en-US` 用于 `com`).&#x20;

{% hint style="info" %}
下载完整的 `locale` JSON 格式的值列表 [**此处**](https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzrXw45naRpCZ0Ku9AjY1%2Fuploads%2FMbRF7bRXDzhafjKUjKdx%2Flocale.json?alt=media\&token=a724fd1b-6a16-42b3-ab02-7df0299ec64b).
{% endhint %}

下面是 locale 值示例：&#x20;

```shell
# Locale 描述，域名：域名后缀

"locale":
    "en-ai", # 安圭拉 - 英语，域名：com.ai
    "es-pr", # 波多黎各 - 西班牙语，域名：com.pr
    "nl-sr", # 苏里南 - 荷兰语，域名：sr
    "fr-ml", # 马里 - 法语，域名：ml
    "en-lb", # 黎巴嫩 - 英语，域名：com.lb
    "fr-bf", # 布基纳法索 - 法语，域名：bf
    "en-fm", # 密克罗尼西亚联邦 - 英语，域名：fm
    "es-mx", # 墨西哥 - 西班牙语，域名：com.mx
    "fr-bj", # 贝宁 - 法语，域名：bj
    "ru-ee", # 爱沙尼亚 - 俄语，域名：ee
    "en-mv", # 马尔代夫 - 英语，域名：mv
```

## Bing

### 区域设置

使用 `locale` 该参数将允许你更改 Bing Search 页面网页界面语言（不是结果）。&#x20;

例如，如果你使用域名 `com` 和 locale 参数 `de-DE`，结果仍然会是美国结果，但 `Accept-Language` 标头值将被设置为 `de-DE,de;q=0.8`。这会模拟一位来自美国、在 `com` 域名，他的浏览器 UI 语言设置为德语。&#x20;

如果你不使用此参数，我们会将 'Accept-Language' 参数设置为与域名匹配（即 `en-US` 用于 `com`).&#x20;

下载完整的 `locale` JSON 格式的值 [此处](https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzrXw45naRpCZ0Ku9AjY1%2Fuploads%2FMbRF7bRXDzhafjKUjKdx%2Flocale.json?alt=media\&token=a724fd1b-6a16-42b3-ab02-7df0299ec64b).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developers.oxylabs.io/products/cn/web-scraper-api/features/localization/domain-locale.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
