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?.length >= 480) {
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yz-yuki-plugin",
3
- "version": "2.0.6-16",
3
+ "version": "2.0.6-17",
4
4
  "description": "优纪插件,yunzaijs 关于 微博推送、B站推送 等功能的拓展插件",
5
5
  "author": "snowtafir",
6
6
  "type": "module",