This repository has been archived by the owner on Apr 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 156
批量下载文章,下载中途闪退 #20
Comments
应该是下载的文章列表(articleArr变量)有问题 |
感谢回复。今天自己调试了源码,发现作者如果发布的是图片或是类似说说的文字片段,是没有正文可供下载的。 用这个文章,把下载范围设置为2023-11-01号,可以重现问题。 |
麻烦提供一下文章的链接,谢谢 |
比如使用批量下载下载公众号“吾爱破解论坛”的文章,https://mp.weixin.qq.com/s/reoIGA19pVZBGz2ZKEySeA 碰到文字片段直接闪退,类似图片中第一条这样的 |
Closed
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
拉代码跑了一下,看到了一个报错的点,不知道是不是它引发的
D:\sc\github\wechatDownload\node_modules\brotli\build\encode.js:3
1<process.argv.length?process.argv[1].replace(/\/g,"/"):"unknown-program");b.arguments=process.argv.slice(2);"undefined"!==typeof module&&(module.exports=b);process.on("uncaughtException",function(a){if(!(a instanceof y))throw a;});b.inspect=function(){return"[Emscripten Module object]"}}else if(x)b.print||(b.print=print),"undefined"!=typeof printErr&&(b.printErr=printErr),b.read="undefined"!=typeof read?read:function(){throw"no read() available (jsc?)";},b.readBinary=function(a){if("function"===
TypeError [Error]: Cannot read properties of undefined (reading 'title')
at Service.objToArticle (D:\sc\github\wechatDownload\out\main\service-478a4708.js:887:32)
at downList (D:\sc\github\wechatDownload\out\main\worker-2ab1927a.js:626:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async downList (D:\sc\github\wechatDownload\out\main\worker-2ab1927a.js:657:5)
at async downList (D:\sc\github\wechatDownload\out\main\worker-2ab1927a.js:657:5)
at async downList (D:\sc\github\wechatDownload\out\main\worker-2ab1927a.js:657:5)
at async downList (D:\sc\github\wechatDownload\out\main\worker-2ab1927a.js:657:5)
at async downList (D:\sc\github\wechatDownload\out\main\worker-2ab1927a.js:657:5)
at async batchDownloadFromWeb (D:\sc\github\wechatDownload\out\main\worker-2ab1927a.js:532:3)
at async MessagePort. (D:\sc\github\wechatDownload\out\main\worker-2ab1927a.js:81:7)
Node.js v18.16.1
The text was updated successfully, but these errors were encountered: