🦄 reactor: 重构tieba解析

This commit is contained in:
zhiyu1998 2024-08-22 12:19:50 +08:00
parent b4a0593a6c
commit 7d4839c10b

View File

@ -1906,7 +1906,7 @@ export class tools extends plugin {
const top = postList[0];
const { title, content } = top;
let sendContent = `${this.identifyPrefix}识别:贴吧,${ title }`
if (content.length > 0) {
if (content && content.length > 0) {
sendContent = [sendContent]
for (let contentElement of content) {
if (contentElement?.cdn_src !== undefined) {