# 设置 - 日志批量提取 - 空白单元格

{% hint style="success" %}
**什么是日志批量提取？**

这是一项用于一次性下载多次提取（每小时、每天）所采集信息的功能。当您对同一页面提取两次以上时会创建日志。使用此功能可以将过去的数据汇编到单个 Excel 表格中。

**如果日志批量提取期间出现空白单元格，请尝试更换源数据并重新提取。**
{% endhint %}

{% hint style="info" %}
**快速入门**

➡️ 在 DATABOARD 中选择结果日志 ➡️ 以最新数据作为源进行提取 ➡️ 如果出现空白单元格\
选择最早的数据作为源进行提取
{% endhint %}

***

### 使用方法

<https://search.naver.com/search.naver?where=realtime\\&sm=tab\\_jum\\&query=코로나https://search.naver.com/search.naver?where=realtime\\&sm=tab\\_jum\\&query=%EC%BD%94%EB%A1%9C%EB%82%98>

![Screenshot](/files/5f005d58e8b6bf143cfff78ad82ac5ec326ccc4f)

我已经从这个页面采集数据大约 7 个月了。

* 采集期间：2020年8月19日 \~ 2021年3月8日
* 每天下午4点自动采集
* 共 204 条日志记录（从开始到现在 7 个月后全部成功提取）

网页设计在 2020年11月1日 突然发生了变化。请记住这个日期，因为它成为下面提取日志数据的参考点。

截至 2021年3月8日，我想把所有过去的数据汇总在一起。我将把所有内容整理到一个 Excel 表格中。这与批量提取的工作方式相同。Excel 输出会根据您选择哪个数据作为源而有所不同。

从 204 条记录中选择要作为源使用的数据结果 → 下载日志 Excel

![日志选择 1](/files/f64dd052652dd744c907224bb0087922fea7fbe4)

![日志选择 2](/files/3d7248b5eadc5f0158e7185541dfd3fe0bbbabb7)

![日志列表截图](/files/1bac1dbafd22c7175c46c2499cf559068c748f5d)

{% stepper %}
{% step %}

#### 选择最新（第 204 条）数据作为源

我将使用最近采集的第 204 条数据作为源进行提取。第 204 条数据出现在 Excel 的顶部，其余按采集时间升序出现。第 204 条数据在顶部意味着我将其用作参考来查找和整理具有相同模式的数据。

第一张图片清楚地显示了许多空白单元格。有空白单元格的日期和有数据的日期如下：

* 有空白单元格的采集日期范围：2020年8月19日 \~ 2020年10月31日
* 有数据的采集日期范围：2020年11月1日 \~ 2021年3月7日

为什么？因为作为日志批量提取源，选择了 2021年3月8日 的数据结果。此数据与 2020年11月1日 \~ 2021年3月7日 采集的所有数据格式相同——整个期间的网页设计是相同的，因此数据格式也相同。

![使用最新数据作为源的结果 1](/files/dde3173e807d76f119c3df2a27f4b67db39a7c07)

![使用最新数据作为源的结果 2](/files/dbc3ec320fcf643a2524e3257073013d3d7ef0f2)
{% endstep %}

{% step %}

#### 选择最早（第 1 条）数据作为源

要获取显示为空白单元格的数据（2020年8月19日 \~ 2020年10月31日），请选择该期间的数据结果作为源并下载日志 Excel。在此示例中，使用第 1 条数据（2020年8月19日 采集）作为源会产生相反的结果：

* 有数据的采集日期范围：2020年8月19日 \~ 2020年10月31日
* 有空白单元格的采集日期范围：2020年11月1日 \~ 2021年3月7日

![使用最早数据作为源的结果 1](/files/10763769224517a672515fc9148582eaa6d7b7a3)

![使用最早数据作为源的结果 2](/files/2d7d76193cdea34ff32dd423ada35bb1d040bf5f)
{% endstep %}
{% endstepper %}


---

# 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-hans/getting-started/databoard-features/she-zhi-ri-zhi-pi-liang-ti-qu-kong-bai-dan-yuan-ge.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.
