# パーツ (Parts)

## 部分抽出とは？

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

{% hint style="success" %}
**クイックステップ**

➡️ 目的のページでListlyアイコンをクリック ➡️ Partsを選択 ➡️ データ抽出領域を選択 ➡️ パネルで抽出オプションを選択（オプション）➡️ RUN LISTLYをクリック ➡️ 結果で抽出するデータのタブを選択 ➡️ Excelファイルをダウンロード
{% endhint %}

***

## 使い方

{% stepper %}
{% step %}

#### 目的のページでListlyアイコンをクリック

[Listlyがインストールされた](https://help.listly.io/docs/ja/~/revisions/8HYcVPKMxph0gzWRX4MW/getting-started/quick-start-guide/how-to-install-listly)ブラウザでデータを抽出したいウェブページに移動し、Listlyアイコンをクリックします。
{% endstep %}

{% step %}

#### Partsを選択

Listly拡張機能で\*\*\[Parts]\*\*ボタンを選択します。

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

{% step %}

#### データ抽出領域を選択

抽出したい領域をクリックして指定します。

<figure><img src="/files/5d41af9989a3d5f9c6064c9873adbb360c35ac69" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
参考：[部分抽出領域の選択](https://help.listly.io/docs/ko/getting-started/listly-basics/parts-selection)
{% endhint %}
{% endstep %}

{% step %}

#### パネルで抽出オプションを選択（オプション）

必要に応じて、Partsパネルで抽出オプションを選択します。

<figure><img src="/files/4f5520c3051aaa0c194dd523da04244adf2a1e6b" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
参考：[部分抽出オプションについて学ぶ](https://help.listly.io/docs/ko/getting-started/listly-basics/undefined)
{% endhint %}
{% endstep %}

{% step %}

#### RUN LISTLYをクリック

抽出領域の選択が完了したら、**RUN LISTLY**ボタンをクリックします。

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

{% step %}

#### 結果で抽出するタブを選択

結果ページで抽出されたデータを確認した後、\*\*\[Excel]**または**\[Googleシート]\*\*ボタンをクリックしてエクスポートします。

<figure><img src="/files/31bc39549d09f0df0146856bee9fee4b6d78e5e7" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
参考：[データダウンロードオプションについてもっと学ぶ](https://help.listly.io/docs/ko/getting-started/result-page-features/data-download-options)
{% endhint %}
{% endstep %}

{% step %}

#### ファイルをダウンロード

ダウンロードしたファイルを確認します。

<figure><img src="/files/9068e455ff9861f948947f1f893beede17949859" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

***

## 部分抽出 FAQ

<details>

<summary>PART vs PARTS - 何が変わったのですか？</summary>

<figure><img src="/files/5ad02e5d3396511f3eca3ab9142d14d6b59b8b4e" alt=""><figcaption></figcaption></figure>

単一の選択領域の真上に直接表示されていた機能ボタン（Before）が、以下のようにサイドパネル（After）に移動しました。以前のUIから変更された各機能ボタンの新しい位置については、画像を参照してください。

<figure><img src="/files/05f80cc8693c9cf3e92123a7762ab2301024154d" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
\*\*以前の部分選択と同じプロセスでデータを抽出したい場合は、\*\*変更されたボタンの位置を参照し、単一の領域のみを選択してから、Run Listlyボタンをクリックして抽出を進めてください。
{% endhint %}

</details>

<details>

<summary>抽出するアイテムの数がページごとに異なります。グループ抽出は可能ですか？</summary>

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

**はい、可能です。** 例えば、上の画像のように、ページ1の最初のアイテム領域がページ2では広告などの別の要素に置き換えられているとします。（<mark style="color:$success;">抽出したい情報がある領域は緑色のボックスでマークされています</mark>）

**ListlyのPartsは、同じ構造のデータ位置を自動的に検出します。**

ページ1で「**繰り返し要素を自動選択（繰り返し要素の自動選択）**」メソッドを使用して目的の領域を指定してデータを抽出し、そのページを基にグループ抽出を実行すると、他のウェブページで選択された領域の数が異なっていても、データ抽出は失敗なく成功します。

</details>

<details>

<summary>「個別に目的の領域を選択」メソッドを使用して特定のページを抽出し、グループ抽出を実行したいのですが、一部のページには「個別に選択した」要素がありません。この場合はどうなりますか？</summary>

<figure><img src="/files/8f5a6053681b723b5cd7b240659ce0d10a51adcb" alt=""><figcaption></figcaption></figure>

**上の画像のように、不足している情報は空白セルとして抽出されます。**

ページAでPartsを使用して画像、タイトル、説明領域を個別に選択し、データを抽出してから、同じ構造を持つページでグループ抽出を実行したとします。

ページCにページAで選択した説明領域が空の場合、そのセルのデータは上の画像のように空白として抽出されます。

{% hint style="danger" %} <mark style="color:red;">**ただし、以前のグループ抽出と同様に、ソースページと完全に異なる構造のウェブページを抽出しようとしたり、ページAと一致する領域がない場合は、収集失敗として処理されます。**</mark>
{% endhint %}

</details>

<details>

<summary>繰り返し領域を選択する際、不要な領域も選択されます。どうすれば解決できますか？</summary>

より正確なデータ領域選択のために、クリックで不要な領域を削除できる機能を追加する予定です。現在は、その領域の**CSSセレクター値を直接編集**することで解決できます。

</details>


---

# 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/ja/~/revisions/8HYcVPKMxph0gzWRX4MW/getting-started/extension-features/parts.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.
