yz-yuki-plugin 2.0.6-16 → 2.0.6-17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -99,7 +99,7 @@ class BiliQuery {
|
|
|
99
99
|
}) || [];
|
|
100
100
|
formatData.data.title = desc?.title;
|
|
101
101
|
// 文章内容过长,则尝试获取全文
|
|
102
|
-
if (desc?.summary?.text
|
|
102
|
+
if (String(desc?.summary?.text).length >= 480) {
|
|
103
103
|
const fullArticleContent = await this.getFullArticleContent(this.formatUrl(desc?.jump_url));
|
|
104
104
|
if (fullArticleContent) {
|
|
105
105
|
const { readInfo, articleType } = fullArticleContent;
|