YaoZeyuan/zhihuhelp

无法执行对某个收藏夹的备份功能

lhy1024 opened this issue · 1 comments

无法执行对某个收藏夹的备份功能,显示包含数字是零。
确认已经登陆;收藏夹为公开可见,执行备份的收藏列表为 https://www.zhihu.com/collection/105284024

从日志看,似乎是解析收藏夹内容的ID列表出现了问题。

运行日志如下:

2021-10-04 22:18:51.614: [GenerateCustomer] 开始输出自定义电子书, 共有1个任务
2021-10-04 22:18:51.614: [GenerateCustomer] 将任务中的数据按照问题/文章/想法进行汇总
2021-10-04 22:18:51.615: [GenerateCustomer] 处理第1/1个任务, 任务类型:collection, 任务备注:
2021-10-04 22:18:51.615: [GenerateCustomer] 获取收藏夹105284024下所有回答id
2021-10-04 22:18:51.616: [GenerateCustomer] 收藏夹105284024下回答id列表获取完毕
2021-10-04 22:18:51.617: [GenerateCustomer] 获取收藏夹105284024下回答列表
2021-10-04 22:18:51.618: [GenerateCustomer] 收藏夹105284024下回答列表获取完毕
2021-10-04 22:18:51.618: [GenerateCustomer] 所有数据获取完毕, 最终结果为=>
2021-10-04 22:18:51.619: [GenerateCustomer] 问题 => 0个
2021-10-04 22:18:51.619: [GenerateCustomer] 文章 => 0篇
2021-10-04 22:18:51.619: [GenerateCustomer] 想法 => 0条
2021-10-04 22:18:51.619: [GenerateCustomer] 按配置排序
2021-10-04 22:18:51.619: [GenerateCustomer] command finish
2021-10-04 22:18:51.619: [DispatchCommand] 生成电子书命令执行完毕
2021-10-04 22:18:51.620: [DispatchCommand] 所有命令执行完毕
2021-10-04 22:18:51.620: [DispatchCommand] command finish
2021-10-04 22:18:51.620: 所有任务执行完毕, 打开电子书文件夹 => C:\Users\...\AppData\Local\Programs\zhihuhelp\resources\app\知乎助手输出的电子书

配置文件如下:

{
    "taskConfig": {
        "configList": [
            {
                "type": "collection",
                "id": "105284024",
                "rawInputText": "https://www.zhihu.com/collection/105284024",
                "comment": "",
                "skipFetch": false,
                "defaultTitle": "收藏夹_105284024(105284024)回答合集",
                "lastId": "105284024"
            }
        ],
        "imageQuilty": "hd",
        "bookTitle": "收藏夹_105284024(105284024)回答合集",
        "maxQuestionOrArticleInBook": 1000,
        "orderByList": [
            {
                "orderBy": "createAt",
                "order": "desc"
            }
        ],
        "comment": "",
        "skipFetch": false
    }
}

我也遇到了同样的问题