# 7. 依網頁擷取失敗訊息的解決方案

如果網頁擷取(或資料擷取)失敗,您可以根據截圖中顯示的內容判斷原因,並獲得適當解決方案的指引。請依照以下步驟解決問題。

### ✅ 步驟 1. 提取失敗後，首先檢查以下項目。

請依序檢查下列情況，很多情況是暫時性或操作調整即可解決。

{% stepper %}
{% step %}

#### 稍等片刻後再次嘗試提取

* 可能是由於目標網站的暫時載入失敗、伺服器錯誤等一次性問題。

```
→ 請間隔數分鐘或更長時間後再試。如果重試後仍重複出現相同問題，請參考下方步驟 2 中的畫面類型指南。
```

{% endstep %}

{% step %}

#### 您是否同時執行許多任務？

* 同時執行許多任務可能會因處理瓶頸而導致錯誤。
* 建議：
  * 如果您正在進行群組提取，請嘗試減少每組的網址數量。
  * 如果是單一任務（例如排程作業），建議錯開它們以分散工作負載。
    {% endstep %}

{% step %}

#### 如果失敗重複出現，請檢查錯誤代碼或截圖是否已變更

* 重試時顯示的錯誤代碼或截圖可能會揭示比之前更具體的原因。

```
→ 如果代碼或螢幕訊息已變更，請查看步驟 2 中該情況的指南。
```

{% endstep %}
{% endstepper %}

### ✅ 步驟 2. 請選擇錯誤截圖中顯示的畫面類型

當提取失敗時，會生成「截圖」而非結果。在這裡，會顯示錯誤類型和收集器存取目標網址時遇到的畫面，您可以從中推斷失敗的原因。

相同的錯誤代碼可能因截圖而有不同的原因，因此首先檢查畫面上的外觀最符合以下哪種情況，然後遵循該情況的指南。

<figure><img src="https://content.gitbook.com/content/QSPSOmaFPAz7khj6t7Ds/blobs/DepEoRnI6WjV5mXtR7R1/screenshot.png" alt=""><figcaption></figcaption></figure>

<mark style="background-color:$success;">**錯誤截圖中畫面類型的快速連結**</mark>

<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-cover data-type="image">封面圖片</th></tr></thead><tbody><tr><td><strong>顯示存取封鎖訊息。（CAPTCHA、機器人偵測、權限檢查、無法存取等）</strong></td><td></td></tr><tr><td><strong>僅顯示連線失敗訊息。</strong></td><td></td></tr><tr><td><strong>彈出視窗遮蔽提取區域。</strong></td><td></td></tr><tr><td><strong>顯示登入畫面。</strong></td><td></td></tr><tr><td><strong>僅顯示沒有任何內容的空白畫面。</strong></td><td></td></tr><tr><td><strong>僅主要內容不可見。</strong></td><td></td></tr><tr><td><strong>[群組提取] 顯示正常沒有問題的畫面。</strong></td><td></td></tr><tr><td><strong>[排程提取] 顯示正常沒有問題的畫面。</strong></td><td></td></tr><tr><td><strong>錯誤代碼 - TimeOutException、TimeLimitExceeded</strong></td><td></td></tr><tr><td><strong>錯誤代碼 - AutoClickError</strong></td><td></td></tr><tr><td><strong>錯誤代碼 - ActionScriptError、ScriptError</strong></td><td></td></tr></tbody></table>

### ✅ 步驟 3. 如果以上項目都不適用？

如果沒有項目適用或僅從錯誤截圖難以準確判斷原因，請聯絡 <hello@listly.io>。

聯絡我們時包含以下資訊將能獲得更快速、更流暢的支援：

1. 請提供資料面板失敗畫面的網址。若是群組提取，可提供群組提取結果畫面的網址。
2. 請擷取並傳送您直接存取目標網頁時出現的畫面。
   * 因為使用者的存取環境（國家設定、登入狀態等）可能與我們的不同，請在擷取的圖片上標記（框選、箭頭、註解等）您試圖收集哪個位置的資料（元素/區域），以便我們更準確地檢查。


---

# 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/support/faq-zh-hant/7.-yi-wang-ye-xie-qu-shi-bai-xun-xi-de-jie-jue-fang-an.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.
