From 9daa4dd562958de34cb7fe2c1bde20677ca1a4f4 Mon Sep 17 00:00:00 2001 From: Mufanc <1714511787@qq.com> Date: Sun, 22 May 2022 14:42:37 +0800 Subject: [PATCH] =?UTF-8?q?dirty=20fix:=20=E3=80=8C=E7=88=B6=E8=8A=82?= =?UTF-8?q?=E7=82=B9=E4=B8=8D=E5=AD=98=E5=9C=A8=E3=80=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 01d5405..6544775 100644 --- a/README.md +++ b/README.md @@ -94,6 +94,17 @@ py main.py flash -c ![](images/current_course.png) +### 「父节点不存在」 + +  由于教材差异,如果你的课程在客户端学习正常,而使用脚本刷课时每个单元都报「父节点不存在」,那么可以将 `spider.py` 119-128 行改成以下内容: + +```python +for task_id in id_record: + root.child.append(id_record[task_id]) +``` + +  将所有任务点直接挂到根节点上 + ### 为何关闭 issues   首先,我要贴上这个:[提问的艺术](https://github.com/betaseeker/How-To-Ask-Questions)