> For the complete documentation index, see [llms.txt](https://help.listly.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.listly.io/docs/ja/getting-started/extension-features/parts-selection.md).

# 部分抽出の範囲選択

{% hint style="success" %}
[**部分抽出(Extract Part)とは？**](https://help.listly.io/docs/ja/~/revisions/8HYcVPKMxph0gzWRX4MW/getting-started/extension-features/parts)

**目的の特定領域のみを選択してデータを抽出します。** 抽出データの配列と精度を向上させたい場合に使用します。
{% endhint %}

## 使い方

{% stepper %}
{% step %}

### 範囲を個別に選択する

Extract Partでは、複数のデータ範囲を選択して一度にまとめて抽出できます。

下の例のように、商品名・レビュー・価格・型番など、必要な部分をそれぞれクリックすると、選択した範囲がパネルに個別に登録されます。**\[Run Listly]**&#x30DC;タンをクリックすると、選択したすべての範囲を同時に抽出できます。

<figure><img src="https://161576231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FI8js41AfLS5QdXKB7e8A%2Fuploads%2FWHAz1LFASZfW2UEtqyPY%2F6.%E1%84%87%E1%85%AE%E1%84%87%E1%85%AE%E1%86%AB%E1%84%8E%E1%85%AE%E1%84%8E%E1%85%AE%E1%86%AF%E1%84%8B%E1%85%A7%E1%86%BC%E1%84%8B%E1%85%A7%E1%86%A8-1.png?alt=media&amp;token=edc9c1bb-d3dc-41f5-b460-5ee48bc1852f" alt=""><figcaption></figcaption></figure>

このように選択して抽出すると、個別に選択した各範囲の情報が下の画像のように抽出されます。

<figure><img src="https://161576231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FI8js41AfLS5QdXKB7e8A%2Fuploads%2FanBlVfXPhuyNUQ5L1NZU%2F6.%E1%84%87%E1%85%AE%E1%84%87%E1%85%AE%E1%86%AB%E1%84%8E%E1%85%AE%E1%84%8E%E1%85%AE%E1%86%AF%E1%84%8B%E1%85%A7%E1%86%BC%E1%84%8B%E1%85%A7%E1%86%A8-2.png?alt=media&amp;token=20441f0f-0ad8-4aa3-907b-86f9e6b801c5" alt=""><figcaption></figcaption></figure>

{% endstep %}

{% step %}

### 反復する範囲をまとめて選択する（反復要素を自動選択）

**ワンクリックで、反復する範囲を自動的に選択できます。**

下の例のように、Webページ上の特定の要素をクリックし、続けて最初の要素と反復する要素をクリックすると、Listlyが類似する範囲を認識してポップアップが表示されます。表示されたら、**Group All**ボタンをクリックします。

<figure><img src="https://161576231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FI8js41AfLS5QdXKB7e8A%2Fuploads%2FSHy6B2AiAsPGhdHr2xBg%2F6.%E1%84%87%E1%85%AE%E1%84%87%E1%85%AE%E1%86%AB%E1%84%8E%E1%85%AE%E1%84%8E%E1%85%AE%E1%86%AF%E1%84%8B%E1%85%A7%E1%86%BC%E1%84%8B%E1%85%A7%E1%86%A8-gif.gif?alt=media&amp;token=412dd24c-66d5-4335-8468-32d7bc78b94c" alt=""><figcaption></figcaption></figure>

**同じ階層構造を持つ要素は、下のように1つの範囲として認識され、サイドパネルに記録されます。** <mark style="color:$info;">（画像は分かりやすくするために色を変えて表現しています。）</mark>

<figure><img src="https://161576231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FI8js41AfLS5QdXKB7e8A%2Fuploads%2FZ6jFhdWMOwkdx66oHAOj%2F6.%E1%84%87%E1%85%AE%E1%84%87%E1%85%AE%E1%86%AB%E1%84%8E%E1%85%AE%E1%84%8E%E1%85%AE%E1%86%AF%E1%84%8B%E1%85%A7%E1%86%BC%E1%84%8B%E1%85%A7%E1%86%A8-3.png?alt=media&amp;token=d3273b9b-4161-4f19-84ad-1d2e24abbf2a" alt=""><figcaption></figcaption></figure>

「反復する範囲をまとめて選択する」の方法で目的の範囲を選択したら、抽出ボタンをクリックすると、下のようにデータを抽出できます。1つのページ内で反復する画像やブランド名を手軽にまとめて取得することもできます。

<figure><img src="https://content.gitbook.com/content/I8js41AfLS5QdXKB7e8A/blobs/TTVM1BXdgEHPLf1jSUAU/%ED%8C%8C%EC%B8%A0%20parts%20%EA%B0%80%EC%9D%B4%EB%93%9C%2005%201.jpg" alt=""><figcaption></figcaption></figure>

{% endstep %}

{% step %}

### 反復要素を自動選択する（アイテムボックス単位で選択）

反復する要素を、アイテムボックス単位で自動選択することもできます。最初のボックスを選択し、続いて2番目のボックスを選択すると、同じ構造を持つすべてのアイテムを一度に選択できます。

<figure><img src="https://161576231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FI8js41AfLS5QdXKB7e8A%2Fuploads%2Fl23LBoPQbYdfnKGREVoT%2F6.%E1%84%87%E1%85%AE%E1%84%87%E1%85%AE%E1%86%AB%E1%84%8E%E1%85%AE%E1%84%8E%E1%85%AE%E1%86%AF%E1%84%8B%E1%85%A7%E1%86%BC%E1%84%8B%E1%85%A7%E1%86%A8-5.png?alt=media&amp;token=12ce1225-5fb3-43ab-9f19-c807eda491e9" alt=""><figcaption></figcaption></figure>

**このようにアイテム単位で選択したい場合は、**&#x9078;択した2つの範囲から類似したパターンが検出された際に表示されるポップアップで、\
**「Select by item」**&#x304C;有効になっていることを確認してから、**「Group All」**&#x3092;クリックしてください。

<figure><img src="https://161576231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FI8js41AfLS5QdXKB7e8A%2Fuploads%2FXljqQ62UpAQ9Qw8qW7Ex%2F6.%E1%84%87%E1%85%AE%E1%84%87%E1%85%AE%E1%86%AB%E1%84%8E%E1%85%AE%E1%84%8E%E1%85%AE%E1%86%AF%E1%84%8B%E1%85%A7%E1%86%BC%E1%84%8B%E1%85%A7%E1%86%A8-%E1%84%8B%E1%85%A1%E1%84%8B%E1%85%B5%E1%84%90%E1%85%A6%E1%86%B7%E1%84%83%E1%85%A1%E1%86%AB%E1%84%8B%E1%85%B1%20%E1%84%89%E1%85%A5%E1%86%AB%E1%84%90%E1%85%A2%E1%86%A8.gif?alt=media&amp;token=3b0996d5-c288-4ca5-8f9d-41860e609432" alt=""><figcaption></figcaption></figure>

上の画像のとおり、このトグルを有効にすると、選択範囲の点線ボックスがアイテム単位に広がることを確認できます。
{% endstep %}
{% endstepper %}


---

# 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, and the optional `goal` query parameter:

```
GET https://help.listly.io/docs/ja/getting-started/extension-features/parts-selection.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
