# 企業版 - 自動擷取子頁面

## 子頁面自動收集是什麼？

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

當列表頁面有新文章或商品上傳時，該子頁面的 URL 會自動添加到群組中並進行提取的功能。使用子頁面自動收集功能時，無需手動逐個收集或更新網址，**可以自動檢測變更的列表並收集新資料**。

此功能在提取**像文章、商品頁面這樣持續更新的頁面**時特別有用。\
例如，如果連結每天註冊新商品的購物網站列表頁面，新商品的詳細頁面會自動收集，**可以保持最新的資料狀態**。

{% hint style="success" %}
**子頁面（Subpage）是什麼？**

指網站主頁（首頁）以外的所有下層頁面。
{% endhint %}

***

## 使用方法

{% stepper %}
{% step %}

#### 建立上層作業（父作業）

{% stepper %}
{% step %}
在列表頁面執行 Listly 並點擊 **\[部分+]** 按鈕。

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

{% step %}
選擇提取區域後，在提取選項中選擇 **'Hyperlink'** 僅收集各詳細頁面的連結。

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

{% step %}
**僅收集詳細頁面超連結的此任務是「子頁面自動收集」所需的上層作業**。此任務的 URL 稍後連結下層作業時會使用，所以提前複製會很方便。

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

{% step %}

#### 建立下層作業（子作業）後連結上層作業

{% stepper %}
{% step %}
在詳細頁面選擇作為群組提取基準的區域並提取資料。\
（此過程與一般[群組提取](https://help.listly.io/docs/ko/getting-started/result-page-features/group-extraction)相同）

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

{% step %}
在結果頁面確認所選資料位於的「分頁」後，點擊 **\[+群組]** 按鈕。

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

{% step %}
在群組提取設定視窗底部的 URL 輸入欄中選擇 **\[Choose URL from existing task]**，並貼上先前建立的上層作業（I-3 步驟）的 URL。

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

{% step %}
點擊 **\[Preview]** 按鈕，選擇包含詳細頁面 URL 的欄位。如果底部預覽視窗顯示 5 個 URL，則正常。確認後點擊 **\[完成]** 按鈕。

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

![](/files/ef82bc297ee58ad828a0b24ca0d9a0f4bc866de9)
{% endstep %}

{% step %}
用這種方式註冊群組後，下層作業（詳細頁面群組提取任務）會連結在上層作業（超連結收集任務）下。每次上層作業發現新連結時，該 URL 會自動添加到下層作業中並進行收集。因此 <mark style="background-color:$success;">排程應該</mark> <mark style="background-color:$success;">**在上層作業**</mark><mark style="background-color:$success;">中設定</mark>。

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

{% step %}
根據所需週期和時間設定排程。

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

{% step %}
根據設定的排程執行上層作業時，如果列表頁面有註冊的新項目，該 URL 會自動更新到下層群組。

<figure><img src="/files/65a079a4817f12eab9130783328cac59ac8e1c3b" alt=""><figcaption></figcaption></figure>

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

{% hint style="warning" %}
**注意事項**

子頁面自動提取功能不是檢測新文章的功能，而是**基於根據排程執行的自動提取方式**運作。根據使用者註冊的排程執行上層作業時，如果在列表頁面發現新內容，該連結會自動添加到下層作業並進行收集。
{% endhint %}


---

# 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/enterprise-solutions/auto-scrape-sub-pages-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.
