burpheart / yuque-crawl

语雀爬虫 可以保存整个语雀知识库为Markdown格式 (包含完整目录结构和索引)
163 stars 35 forks source link

爬取文档失败,是个人知识库。报错信息如下,忘解答,感谢! #10

Open AngevolShady opened 6 months ago

AngevolShady commented 6 months ago

Traceback (most recent call last): File "/Users/liyidan/Downloads/yuque-crawl-main/main.py", line 98, in get_book() File "/Users/liyidan/Downloads/yuque-crawl-main/main.py", line 45, in get_book if (os.path.exists("download/" + str(docsjson['book']['id'])) == False):


KeyError: 'book'
Txy-Sky commented 2 weeks ago

我也是,现在有解决办法吗