koishi-plugin-video-parser-all 1.2.7 → 1.2.8
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.
- package/lib/index.js +1 -0
- package/package.json +1 -1
- package/readme.md +1 -1
package/lib/index.js
CHANGED
|
@@ -179,6 +179,7 @@ const LINK_RULES = [
|
|
|
179
179
|
{ pattern: /https?:\/\/(?:www\.)?doubao\.com\/video\/\d{10,}/gi, type: 'doubao' },
|
|
180
180
|
{ pattern: /https?:\/\/(?:www\.)?oasis\.weibo\.com\/v\/[0-9a-zA-Z_-]+/gi, type: 'oasis' },
|
|
181
181
|
{ pattern: /https?:\/\/channels\.weixin\.qq\.com\/[0-9a-zA-Z_-]+/gi, type: 'wechat_channel' },
|
|
182
|
+
{ pattern: /https?:\/\/weixin\.qq\.com\/sph\/[0-9a-zA-Z_-]+/gi, type: 'wechat_channel' },
|
|
182
183
|
];
|
|
183
184
|
function linkTypeParser(content) {
|
|
184
185
|
content = content.replace(/\\\//g, '/');
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -134,7 +134,7 @@ This is a **multi-platform video/image parsing plugin** developed for the Koishi
|
|
|
134
134
|
| 皮皮虾 | pipixia, h5.pipix.com | 短视频 |
|
|
135
135
|
| 最右 | zuiyou, xiaochuankeji.cn | 短视频 |
|
|
136
136
|
| 绿洲 (Oasis) | oasis.weibo.com | 视频、图文 |
|
|
137
|
-
| 视频号 (WeChat Channels) | channels.weixin.qq.com | 短视频 |
|
|
137
|
+
| 视频号 (WeChat Channels) | channels.weixin.qq.com, weixin.qq.com/sph/ | 短视频 |
|
|
138
138
|
|
|
139
139
|
> 注:部分平台解析能力可能因API限制有所差异,具体以实际解析结果为准。
|
|
140
140
|
|