# 部分选择

{% hint style="success" %}
[**部分提取是什么？**](https://help.listly.io/docs/ko/getting-started/listly-basics/parts-extraction)

**只选择想要的区域部分提取数据**的功能。想提高提取数据的排列和准确度时使用。
{% endhint %}

## 使用方法

{% stepper %}
{% step %}

#### 单独选择想要的区域

Parts 提取可以选择多个想要的数据提取区域一次提取。

如下示例分别点击商品名称、评论、价格、型号等必要部分，选择的区域会另外登记在面板。之后点击 **\[Run Listly]** 按钮可以同时提取所有选择的区域。

<figure><img src="/files/b6bf19df3642b54b80ba66fb67c2c9c88fd31141" alt=""><figcaption></figcaption></figure>

如示例图片选择提取时，可以确认单独选择区域的信息如下图提取。

<figure><img src="/files/62be433e7a45f194486e988032611bfb78869489" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### 同时选择重复区域（重复元素自动选择）

**只需点击一次就能自动选择重复区域。**

如下示例在网页点击特定元素后，点击与先选择的元素重复的元素，该页面内具有相同层级结构的所有数据就会自动选择。

<figure><img src="/files/3d5b68313358bea760050113f9da921023f374e4" alt=""><figcaption></figcaption></figure>

**如下相同层级结构会识别为一个区域记录在侧边面板。**\ <mark style="color:$info;">（图片为便于理解以不同颜色表示。）</mark>

<figure><img src="/files/cde7659ee1fc18a5c32e90b7c8a83899764a0272" alt=""><figcaption></figcaption></figure>

用「同时选择重复区域」方式选择想要的区域后，点击提取按钮可以如下提取数据。可以轻松收集一个页面内重复的图片和品牌名称。

<figure><img src="/files/b6ee81d53ff5c86db9f7dea45b3bf8941b83f96d" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### 自动选择重复元素（项目框单位选择）

也可以以项目框单位自动选择重复元素。选择第一个框后选择连续的第二个框时，可以一次选择具有相同结构的全部项目。**但这种情况下，提取结果的准确度可能相对较低，因此建议以「最大项目单位」选择。**

<figure><img src="/files/82ab19bcb9687ee869e5862b3700928174bbd270" alt=""><figcaption></figcaption></figure>

在特定项目框内选择详细元素（文本、图片等）后， 持续点击 **⬆︎ 向上箭头**，选择区域会逐渐变大，可以扩展选择到比项目框更大的整体框。

<figure><img src="/files/babc246543ca41fe23a7441eff5c20ddcb92d2d5" alt=""><figcaption></figcaption></figure>

此状态下再点击一次 ⬇︎ 向下箭头，可以指定「最大项目框单位」。

在其他项目也用相同方式指定「最大项目单位」，就能自动选择网页内具有相同结构的所有项目。
{% endstep %}
{% endstepper %}


---

# Agent Instructions: 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://help.listly.io/docs/zh-hans/getting-started/extension-features/parts-selection.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.
