# 部分選項

{% hint style="success" %}
[**什麼是 PARTS 擷取？**](https://help.listly.io/docs/zh-hant/~/revisions/1Y8YuKBoP5NixSQ7UEOx/getting-started/extension-features-zh-hant/parts-zh-hant)

**選擇想要的區域進行部分資料擷取**的功能。當您想提高擷取資料的排列和準確度時，請使用此功能。
{% endhint %}

> 進行 PARTS 擷取時，可以使用 PARTS 面板的擷取選項來詳細指定要從選取區域擷取的資料。

<figure><img src="/files/45674d2c5c8fb731f67a89fb409744b0b15554b7" alt="PARTS 擷取選項"><figcaption></figcaption></figure>

擷取選項

1. Default（預設值）\
   按原樣擷取文字、圖片 URL、超連結等基本提供的資訊。大多數情況下，使用預設值就足夠了。
2. Plain Text（純文字）\
   僅擷取文字，不包含連結或圖片 URL。

   <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>範例：選擇圖片時，無擷取值</p></div>
3. HTML Attribute（HTML 屬性）\
   擷取元素的屬性（attribute）值。當圖片路徑或商品資訊儲存在屬性中時很有用，但需要基本的開發知識才能使用。

   <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>範例：class="style-1", data-id="id-1"</p></div>
4. HTML Source（HTML 原始碼）\
   按原樣擷取所選元素的 HTML 代碼。用於開發人員後續加工原始碼時使用。
5. Hyperlink\
   僅擷取文字或圖片等所連結的超連結。
6. Image Link\
   僅擷取圖片 URL。
7. Numeric\
   僅擷取選取區域內的數字。

   <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>範例：<mark style="color:$success;">特別優惠價 5,000 元</mark> → <mark style="color:$success;">5,000</mark></p></div>
8. Element Count\
   以數字形式回傳所選元素的數量。

   <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>範例：選擇 36 個項目 → <mark style="color:$success;">36</mark></p></div>


---

# 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-hant/getting-started/extension-features-zh-hant/parts-options-zh-hant.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.
