karin-plugin-kkk 2.27.1 → 2.27.2
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/CHANGELOG.md +12 -0
- package/lib/apps/__ready.js +1 -1
- package/lib/apps/admin.js +1 -1
- package/lib/apps/help.js +1 -1
- package/lib/apps/push.js +1 -1
- package/lib/apps/qrlogin.js +1 -1
- package/lib/apps/statistics.js +1 -1
- package/lib/apps/tools.js +1 -1
- package/lib/apps/update.js +1 -1
- package/lib/build-metadata.json +5 -5
- package/lib/core_chunk/{ArticleWork-YUXD4J4o.js → ArticleWork-D-BYrsdY.js} +1 -1
- package/lib/core_chunk/{Comment-BvaBxBXq.js → Comment-BCBpHyDJ.js} +1 -1
- package/lib/core_chunk/{Comment-DAkBYEwQ.js → Comment-C_YwQUnb.js} +1 -1
- package/lib/core_chunk/{Comment-W7yzE3V8.js → Comment-Cp0STr1s.js} +1 -1
- package/lib/core_chunk/{Comment-BlsGb0BJ.js → Comment-uFQ-lSTU.js} +1 -1
- package/lib/core_chunk/{DYNAMIC_TYPE_ARTICLE-C_yXdHL6.js → DYNAMIC_TYPE_ARTICLE-BANrixjv.js} +1 -1
- package/lib/core_chunk/{DYNAMIC_TYPE_AV-9V_K1fEv.js → DYNAMIC_TYPE_AV-B1j0DOxj.js} +1 -1
- package/lib/core_chunk/{DYNAMIC_TYPE_DRAW-B0nRDWIR.js → DYNAMIC_TYPE_DRAW-BP5y2-Z0.js} +1 -1
- package/lib/core_chunk/{DYNAMIC_TYPE_FORWARD-CQddwMwd.js → DYNAMIC_TYPE_FORWARD-Dqtxcfs5.js} +1 -1
- package/lib/core_chunk/{DYNAMIC_TYPE_LIVE_RCMD-Bt_E88wL.js → DYNAMIC_TYPE_LIVE_RCMD-BKK-MQIo.js} +1 -1
- package/lib/core_chunk/{DYNAMIC_TYPE_WORD-BDutqdJU.js → DYNAMIC_TYPE_WORD-CExu1AeI.js} +1 -1
- package/lib/core_chunk/{Dynamic-s7ouu-nG.js → Dynamic-BQRdF0Iq.js} +1 -1
- package/lib/core_chunk/{FavoriteList-D0o5nbi4.js → FavoriteList-CXaUjA4Z.js} +1 -1
- package/lib/core_chunk/{GlobalStatistics-aqVNKMGM.js → GlobalStatistics-PgMjuEI0.js} +1 -1
- package/lib/core_chunk/{GroupStatistics-BppQCu9O.js → GroupStatistics-BQc8xoUG.js} +1 -1
- package/lib/core_chunk/{Help-BX3TqQaQ.js → Help-DxWnO364.js} +1 -1
- package/lib/core_chunk/{ImageWork-CYelfERx.js → ImageWork-CAXTExbl.js} +1 -1
- package/lib/core_chunk/{Live-CQP5OR8Y.js → Live-BPt0WjxN.js} +1 -1
- package/lib/core_chunk/{MusicInfo-zvwtog_A.js → MusicInfo-CbpQDtXR.js} +1 -1
- package/lib/core_chunk/{RecommendList-CXiPOzIN.js → RecommendList-CSGMmQHV.js} +1 -1
- package/lib/core_chunk/{UserList-Dp-zNY4Z.js → UserList-Dlfezkg4.js} +1 -1
- package/lib/core_chunk/{UserList-e7qGfWpS.js → UserList-ZtuCbZcD.js} +1 -1
- package/lib/core_chunk/{UserVideoList-DsfeY2HS.js → UserVideoList-DsfmDdbu.js} +1 -1
- package/lib/core_chunk/{VersionWarning-mCbREKfz.js → VersionWarning-BBilm7ZQ.js} +1 -1
- package/lib/core_chunk/{VideoWork-DWP1x1xo.js → VideoWork-Mp9SYOhU.js} +1 -1
- package/lib/core_chunk/amagiClient-DVxH7OHV.js +3 -0
- package/lib/core_chunk/{bangumi-CXz3aPKE.js → bangumi-Ch7mnoug.js} +1 -1
- package/lib/core_chunk/{changelog-icKPF2Vh.js → changelog-e1jZ80d5.js} +1 -1
- package/lib/core_chunk/db-BDAEWTrG.js +3 -0
- package/lib/core_chunk/{handlerError-DIJznuvm.js → handlerError-DsnWvz4S.js} +1 -1
- package/lib/core_chunk/{main-GkRJUnjP.js → main-6QQJ5H3C.js} +42 -41
- package/lib/core_chunk/{noteInfo-DlLJJaxT.js → noteInfo-D_BhS1le.js} +1 -1
- package/lib/core_chunk/{qrcodeImg-C0mEIm5B.js → qrcodeImg-CZjyVFex.js} +1 -1
- package/lib/core_chunk/{qrcodeImg-COPQdgv8.js → qrcodeImg-CzvTO1mE.js} +1 -1
- package/lib/core_chunk/{qrlogin-COaceLuZ.js → qrlogin-FkNz8tfK.js} +1 -1
- package/lib/core_chunk/{setup-FE-bwEzb.js → setup-B-PwgJem.js} +1 -1
- package/lib/core_chunk/template.js +1 -1
- package/lib/core_chunk/{videoInfo-CWzMOt6K.js → videoInfo-2ZftvrcH.js} +1 -1
- package/lib/core_chunk/{videoInfo-7t7_qNts.js → videoInfo-Bnv5saba.js} +1 -1
- package/lib/index.js +1 -1
- package/lib/root.js +1 -1
- package/lib/web.config.js +1 -1
- package/package.json +1 -1
- package/lib/core_chunk/amagiClient-C_qQFi3I.js +0 -3
- package/lib/core_chunk/db-CjI5bW_8.js +0 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog
|
|
4
4
|
|
|
5
|
+
## [2.27.2](https://github.com/ikenxuan/karin-plugin-kkk/compare/v2.27.1...v2.27.2) (2026-03-29)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### 🐛 错误修复
|
|
9
|
+
|
|
10
|
+
* 修正正则表达式以匹配抖音用户分享链接 ([7177a60](https://github.com/ikenxuan/karin-plugin-kkk/commit/7177a60a945fa8aa50a31775d83cdd4ea1824d26))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### 🧰 其他更新
|
|
14
|
+
|
|
15
|
+
* 增强日志输出,显示处理的图片统计信息 ([689b3c9](https://github.com/ikenxuan/karin-plugin-kkk/commit/689b3c9fbfdac5cf80453d8596c2822c2c34bd0f))
|
|
16
|
+
|
|
5
17
|
## [2.27.1](https://github.com/ikenxuan/karin-plugin-kkk/compare/v2.27.0...v2.27.1) (2026-03-28)
|
|
6
18
|
|
|
7
19
|
|
package/lib/apps/__ready.js
CHANGED
package/lib/apps/admin.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { at as removeOldFiles, it as dylogin, ot as task, rt as biLogin } from "../core_chunk/main-
|
|
1
|
+
import { at as removeOldFiles, it as dylogin, ot as task, rt as biLogin } from "../core_chunk/main-6QQJ5H3C.js";
|
|
2
2
|
import "../core_chunk/vendor-CupLbLdw.js";
|
|
3
3
|
export { biLogin, dylogin, removeOldFiles, task };
|
package/lib/apps/help.js
CHANGED
package/lib/apps/push.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as setdyPush, J as changeBotID, K as bilibiliPush, Q as setbiliPush, X as douyinPushList, Y as douyinPush, Z as forcePush, et as testDouyinPush, q as bilibiliPushList } from "../core_chunk/main-
|
|
1
|
+
import { $ as setdyPush, J as changeBotID, K as bilibiliPush, Q as setbiliPush, X as douyinPushList, Y as douyinPush, Z as forcePush, et as testDouyinPush, q as bilibiliPushList } from "../core_chunk/main-6QQJ5H3C.js";
|
|
2
2
|
import "../core_chunk/vendor-CupLbLdw.js";
|
|
3
3
|
export { bilibiliPush, bilibiliPushList, changeBotID, douyinPush, douyinPushList, forcePush, setbiliPush, setdyPush, testDouyinPush };
|
package/lib/apps/qrlogin.js
CHANGED
package/lib/apps/statistics.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { U as globalStatistics, W as groupStatistics } from "../core_chunk/main-
|
|
1
|
+
import { U as globalStatistics, W as groupStatistics } from "../core_chunk/main-6QQJ5H3C.js";
|
|
2
2
|
import "../core_chunk/vendor-CupLbLdw.js";
|
|
3
3
|
export { globalStatistics, groupStatistics };
|
package/lib/apps/tools.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { B as kuaishouAPP, H as xiaohongshuAPP, R as bilibiliAPP, V as prefix, z as douyinAPP } from "../core_chunk/main-
|
|
1
|
+
import { B as kuaishouAPP, H as xiaohongshuAPP, R as bilibiliAPP, V as prefix, z as douyinAPP } from "../core_chunk/main-6QQJ5H3C.js";
|
|
2
2
|
import "../core_chunk/vendor-CupLbLdw.js";
|
|
3
3
|
export { bilibiliAPP, douyinAPP, kuaishouAPP, prefix, xiaohongshuAPP };
|
package/lib/apps/update.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { F as kkkUpdate, I as kkkUpdateCommand, L as update } from "../core_chunk/main-
|
|
1
|
+
import { F as kkkUpdate, I as kkkUpdateCommand, L as update } from "../core_chunk/main-6QQJ5H3C.js";
|
|
2
2
|
import "../core_chunk/vendor-CupLbLdw.js";
|
|
3
3
|
export { kkkUpdate, kkkUpdateCommand, update };
|
package/lib/build-metadata.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.27.
|
|
3
|
-
"buildTime": "2026-03-
|
|
4
|
-
"buildTimestamp":
|
|
2
|
+
"version": "2.27.2",
|
|
3
|
+
"buildTime": "2026-03-29T08:52:38.425Z",
|
|
4
|
+
"buildTimestamp": 1774774358425,
|
|
5
5
|
"name": "karin-plugin-kkk",
|
|
6
6
|
"description": "Karin 的「抖音」「B 站」视频解析/动态推送插件",
|
|
7
7
|
"homepage": "https://github.com/ikenxuan/karin-plugin-kkk",
|
|
8
|
-
"commitHash": "
|
|
9
|
-
"shortCommitHash": "
|
|
8
|
+
"commitHash": "e8e6714f7d592c30f33ccd93298d104f46819b8a",
|
|
9
|
+
"shortCommitHash": "e8e6714f"
|
|
10
10
|
}
|
|
@@ -21,7 +21,7 @@ import { snapka } from "@snapka/puppeteer";
|
|
|
21
21
|
import { newInjectedPage } from "fingerprint-injector";
|
|
22
22
|
import express from "node-karin/express";
|
|
23
23
|
globalThis.__kkkLoadStart ??= process.hrtime.bigint();
|
|
24
|
-
import("./setup-
|
|
24
|
+
import("./setup-B-PwgJem.js");
|
|
25
25
|
var resolvePluginRoot = (startUrl) => {
|
|
26
26
|
let dir = path.dirname(startUrl);
|
|
27
27
|
for (let i = 0; i < 8; i++) {
|
|
@@ -5213,7 +5213,7 @@ var Cfg = class {
|
|
|
5213
5213
|
const fileName = path.basename(file, ".yaml");
|
|
5214
5214
|
if (fileName === "cookies" || fileName === "request") {
|
|
5215
5215
|
logger.debug(`[Config] 检测到 ${fileName} 配置变化,正在重载 Amagi Client...`);
|
|
5216
|
-
import("./amagiClient-
|
|
5216
|
+
import("./amagiClient-DVxH7OHV.js").then(({ reloadAmagiConfig }) => {
|
|
5217
5217
|
reloadAmagiConfig();
|
|
5218
5218
|
}).catch((error) => {
|
|
5219
5219
|
logger.error(`[Config] 重载 Amagi Client 失败: ${error}`);
|
|
@@ -5232,7 +5232,7 @@ var Cfg = class {
|
|
|
5232
5232
|
};
|
|
5233
5233
|
}
|
|
5234
5234
|
async All() {
|
|
5235
|
-
const { getDouyinDB, getBilibiliDB } = await import("./db-
|
|
5235
|
+
const { getDouyinDB, getBilibiliDB } = await import("./db-BDAEWTrG.js");
|
|
5236
5236
|
const douyinDB = await getDouyinDB();
|
|
5237
5237
|
const bilibiliDB = await getBilibiliDB();
|
|
5238
5238
|
const allConfig = {};
|
|
@@ -5274,7 +5274,7 @@ var Cfg = class {
|
|
|
5274
5274
|
fs.writeFileSync(path, yamlData.toString({ lineWidth: -1 }), "utf8");
|
|
5275
5275
|
}
|
|
5276
5276
|
async ModifyPro(name, config, type = "config") {
|
|
5277
|
-
const { getDouyinDB, getBilibiliDB } = await import("./db-
|
|
5277
|
+
const { getDouyinDB, getBilibiliDB } = await import("./db-BDAEWTrG.js");
|
|
5278
5278
|
const douyinDB = await getDouyinDB();
|
|
5279
5279
|
const bilibiliDB = await getBilibiliDB();
|
|
5280
5280
|
const filePath = type === "config" ? `${this.dirCfgPath}/${name}.yaml` : `${this.defCfgPath}/${name}.yaml`;
|
|
@@ -5379,7 +5379,7 @@ var Cfg = class {
|
|
|
5379
5379
|
}
|
|
5380
5380
|
async syncConfigToDatabase() {
|
|
5381
5381
|
try {
|
|
5382
|
-
const { getDouyinDB, getBilibiliDB } = await import("./db-
|
|
5382
|
+
const { getDouyinDB, getBilibiliDB } = await import("./db-BDAEWTrG.js");
|
|
5383
5383
|
const douyinDB = await getDouyinDB();
|
|
5384
5384
|
const bilibiliDB = await getBilibiliDB();
|
|
5385
5385
|
const pushCfg = this.getYaml("config", "pushlist");
|
|
@@ -8023,47 +8023,47 @@ var componentConfigs = baseComponentConfigs.map((basePlatform) => {
|
|
|
8023
8023
|
switch (baseComponent.id) {
|
|
8024
8024
|
case "comment": return createComponentConfig(baseComponent, {
|
|
8025
8025
|
validateData: (data) => data && typeof data.share_url === "string",
|
|
8026
|
-
lazyComponent: () => import("./Comment-
|
|
8026
|
+
lazyComponent: () => import("./Comment-BCBpHyDJ.js").then((module) => ({ default: module.DouyinComment }))
|
|
8027
8027
|
});
|
|
8028
8028
|
case "dynamic": return createComponentConfig(baseComponent, {
|
|
8029
8029
|
validateData: (data) => data && typeof data.share_url === "string",
|
|
8030
|
-
lazyComponent: () => import("./Dynamic-
|
|
8030
|
+
lazyComponent: () => import("./Dynamic-BQRdF0Iq.js").then((module) => ({ default: module.DouyinDynamic }))
|
|
8031
8031
|
});
|
|
8032
8032
|
case "video-work": return createComponentConfig(baseComponent, {
|
|
8033
8033
|
validateData: (data) => data && typeof data.share_url === "string",
|
|
8034
|
-
lazyComponent: () => import("./VideoWork-
|
|
8034
|
+
lazyComponent: () => import("./VideoWork-Mp9SYOhU.js").then((module) => ({ default: module.DouyinVideoWork }))
|
|
8035
8035
|
});
|
|
8036
8036
|
case "image-work": return createComponentConfig(baseComponent, {
|
|
8037
8037
|
validateData: (data) => data && typeof data.share_url === "string",
|
|
8038
|
-
lazyComponent: () => import("./ImageWork-
|
|
8038
|
+
lazyComponent: () => import("./ImageWork-CAXTExbl.js").then((module) => ({ default: module.DouyinImageWork }))
|
|
8039
8039
|
});
|
|
8040
8040
|
case "article-work": return createComponentConfig(baseComponent, {
|
|
8041
8041
|
validateData: (data) => data && typeof data.share_url === "string",
|
|
8042
|
-
lazyComponent: () => import("./ArticleWork-
|
|
8042
|
+
lazyComponent: () => import("./ArticleWork-D-BYrsdY.js").then((module) => ({ default: module.DouyinArticleWork }))
|
|
8043
8043
|
});
|
|
8044
8044
|
case "favorite-list": return createComponentConfig(baseComponent, {
|
|
8045
8045
|
validateData: (data) => data && typeof data.share_url === "string",
|
|
8046
|
-
lazyComponent: () => import("./FavoriteList-
|
|
8046
|
+
lazyComponent: () => import("./FavoriteList-CXaUjA4Z.js").then((module) => ({ default: module.DouyinFavoriteList }))
|
|
8047
8047
|
});
|
|
8048
8048
|
case "recommend-list": return createComponentConfig(baseComponent, {
|
|
8049
8049
|
validateData: (data) => data && typeof data.share_url === "string",
|
|
8050
|
-
lazyComponent: () => import("./RecommendList-
|
|
8050
|
+
lazyComponent: () => import("./RecommendList-CSGMmQHV.js").then((module) => ({ default: module.DouyinRecommendList }))
|
|
8051
8051
|
});
|
|
8052
8052
|
case "live": return createComponentConfig(baseComponent, {
|
|
8053
8053
|
validateData: (data) => data && typeof data.share_url === "string",
|
|
8054
|
-
lazyComponent: () => import("./Live-
|
|
8054
|
+
lazyComponent: () => import("./Live-BPt0WjxN.js").then((module) => ({ default: module.DouyinLive }))
|
|
8055
8055
|
});
|
|
8056
8056
|
case "musicinfo": return createComponentConfig(baseComponent, {
|
|
8057
8057
|
validateData: (data) => data && typeof data.share_url === "string",
|
|
8058
|
-
lazyComponent: () => import("./MusicInfo-
|
|
8058
|
+
lazyComponent: () => import("./MusicInfo-CbpQDtXR.js").then((module) => ({ default: module.DouyinMusicInfo }))
|
|
8059
8059
|
});
|
|
8060
|
-
case "user_profile": return createComponentConfig(baseComponent, { lazyComponent: () => import("./UserVideoList-
|
|
8060
|
+
case "user_profile": return createComponentConfig(baseComponent, { lazyComponent: () => import("./UserVideoList-DsfmDdbu.js").then((module) => ({ default: module.DouyinUserVideoList })) });
|
|
8061
8061
|
case "userlist": return createComponentConfig(baseComponent, {
|
|
8062
8062
|
validateData: (data) => data && Array.isArray(data.renderOpt),
|
|
8063
|
-
lazyComponent: () => import("./UserList-
|
|
8063
|
+
lazyComponent: () => import("./UserList-ZtuCbZcD.js").then((module) => ({ default: module.default }))
|
|
8064
8064
|
});
|
|
8065
|
-
case "videoInfo": return createComponentConfig(baseComponent, { lazyComponent: () => import("./videoInfo-
|
|
8066
|
-
case "qrcodeImg": return createComponentConfig(baseComponent, { lazyComponent: () => import("./qrcodeImg-
|
|
8065
|
+
case "videoInfo": return createComponentConfig(baseComponent, { lazyComponent: () => import("./videoInfo-Bnv5saba.js").then((module) => ({ default: module.DouyinVideoInfo })) });
|
|
8066
|
+
case "qrcodeImg": return createComponentConfig(baseComponent, { lazyComponent: () => import("./qrcodeImg-CzvTO1mE.js").then((module) => ({ default: module.DouyinQrcodeImg })) });
|
|
8067
8067
|
default: return createComponentConfig(baseComponent);
|
|
8068
8068
|
}
|
|
8069
8069
|
});
|
|
@@ -8073,42 +8073,42 @@ var componentConfigs = baseComponentConfigs.map((basePlatform) => {
|
|
|
8073
8073
|
switch (baseComponent.id) {
|
|
8074
8074
|
case "comment": return createComponentConfig(baseComponent, {
|
|
8075
8075
|
validateData: (data) => data && typeof data.share_url === "string",
|
|
8076
|
-
lazyComponent: () => import("./Comment-
|
|
8076
|
+
lazyComponent: () => import("./Comment-Cp0STr1s.js").then((module) => ({ default: module.BilibiliComment }))
|
|
8077
8077
|
});
|
|
8078
8078
|
case "userlist": return createComponentConfig(baseComponent, {
|
|
8079
8079
|
validateData: (data) => data && Array.isArray(data.renderOpt),
|
|
8080
|
-
lazyComponent: () => import("./UserList-
|
|
8080
|
+
lazyComponent: () => import("./UserList-Dlfezkg4.js").then((module) => ({ default: module.default }))
|
|
8081
8081
|
});
|
|
8082
|
-
case "bangumi": return createComponentConfig(baseComponent, { lazyComponent: () => import("./bangumi-
|
|
8082
|
+
case "bangumi": return createComponentConfig(baseComponent, { lazyComponent: () => import("./bangumi-Ch7mnoug.js").then((module) => ({ default: module.default })) });
|
|
8083
8083
|
case "dynamic/DYNAMIC_TYPE_DRAW": return createComponentConfig(baseComponent, {
|
|
8084
8084
|
validateData: (data) => data && typeof data.share_url === "string",
|
|
8085
|
-
lazyComponent: () => import("./DYNAMIC_TYPE_DRAW-
|
|
8085
|
+
lazyComponent: () => import("./DYNAMIC_TYPE_DRAW-BP5y2-Z0.js").then((module) => ({ default: module.BilibiliDrawDynamic }))
|
|
8086
8086
|
});
|
|
8087
8087
|
case "dynamic/DYNAMIC_TYPE_WORD": return createComponentConfig(baseComponent, {
|
|
8088
8088
|
validateData: (data) => data && typeof data.share_url === "string",
|
|
8089
|
-
lazyComponent: () => import("./DYNAMIC_TYPE_WORD-
|
|
8089
|
+
lazyComponent: () => import("./DYNAMIC_TYPE_WORD-CExu1AeI.js").then((module) => ({ default: module.BilibiliWordDynamic }))
|
|
8090
8090
|
});
|
|
8091
8091
|
case "dynamic/DYNAMIC_TYPE_AV": return createComponentConfig(baseComponent, {
|
|
8092
8092
|
validateData: (data) => data && typeof data.share_url === "string",
|
|
8093
|
-
lazyComponent: () => import("./DYNAMIC_TYPE_AV-
|
|
8093
|
+
lazyComponent: () => import("./DYNAMIC_TYPE_AV-B1j0DOxj.js").then((module) => ({ default: module.BilibiliVideoDynamic }))
|
|
8094
8094
|
});
|
|
8095
8095
|
case "dynamic/DYNAMIC_TYPE_FORWARD": return createComponentConfig(baseComponent, {
|
|
8096
8096
|
validateData: (data) => data && typeof data.share_url === "string",
|
|
8097
|
-
lazyComponent: () => import("./DYNAMIC_TYPE_FORWARD-
|
|
8097
|
+
lazyComponent: () => import("./DYNAMIC_TYPE_FORWARD-Dqtxcfs5.js").then((module) => ({ default: module.BilibiliForwardDynamic }))
|
|
8098
8098
|
});
|
|
8099
8099
|
case "dynamic/DYNAMIC_TYPE_LIVE_RCMD": return createComponentConfig(baseComponent, {
|
|
8100
8100
|
validateData: (data) => data && typeof data.share_url === "string",
|
|
8101
|
-
lazyComponent: () => import("./DYNAMIC_TYPE_LIVE_RCMD-
|
|
8101
|
+
lazyComponent: () => import("./DYNAMIC_TYPE_LIVE_RCMD-BKK-MQIo.js").then((module) => ({ default: module.BilibiliLiveDynamic }))
|
|
8102
8102
|
});
|
|
8103
8103
|
case "dynamic/DYNAMIC_TYPE_WORD": return createComponentConfig(baseComponent, { validateData: (data) => data && typeof data.share_url === "string" });
|
|
8104
|
-
case "dynamic/DYNAMIC_TYPE_ARTICLE": return createComponentConfig(baseComponent, { lazyComponent: () => import("./DYNAMIC_TYPE_ARTICLE-
|
|
8104
|
+
case "dynamic/DYNAMIC_TYPE_ARTICLE": return createComponentConfig(baseComponent, { lazyComponent: () => import("./DYNAMIC_TYPE_ARTICLE-BANrixjv.js").then((module) => ({ default: module.BilibiliArticleDynamic })) });
|
|
8105
8105
|
case "videoInfo": return createComponentConfig(baseComponent, {
|
|
8106
8106
|
validateData: (data) => data && typeof data.share_url === "string",
|
|
8107
|
-
lazyComponent: () => import("./videoInfo-
|
|
8107
|
+
lazyComponent: () => import("./videoInfo-2ZftvrcH.js").then((module) => ({ default: module.BilibiliVideoInfo }))
|
|
8108
8108
|
});
|
|
8109
8109
|
case "qrcodeImg": return createComponentConfig(baseComponent, {
|
|
8110
8110
|
validateData: (data) => data && typeof data.share_url === "string",
|
|
8111
|
-
lazyComponent: () => import("./qrcodeImg-
|
|
8111
|
+
lazyComponent: () => import("./qrcodeImg-CZjyVFex.js").then((module) => ({ default: module.BilibiliQrcodeImg }))
|
|
8112
8112
|
});
|
|
8113
8113
|
default: return createComponentConfig(baseComponent);
|
|
8114
8114
|
}
|
|
@@ -8119,7 +8119,7 @@ var componentConfigs = baseComponentConfigs.map((basePlatform) => {
|
|
|
8119
8119
|
switch (baseComponent.id) {
|
|
8120
8120
|
case "comment": return createComponentConfig(baseComponent, {
|
|
8121
8121
|
validateData: (data) => data && typeof data.share_url === "string",
|
|
8122
|
-
lazyComponent: () => import("./Comment-
|
|
8122
|
+
lazyComponent: () => import("./Comment-uFQ-lSTU.js").then((module) => ({ default: module.KuaishouComment }))
|
|
8123
8123
|
});
|
|
8124
8124
|
default: return createComponentConfig(baseComponent);
|
|
8125
8125
|
}
|
|
@@ -8128,8 +8128,8 @@ var componentConfigs = baseComponentConfigs.map((basePlatform) => {
|
|
|
8128
8128
|
case PlatformType.XIAOHONGSHU:
|
|
8129
8129
|
platform.components = basePlatform.components.map((baseComponent) => {
|
|
8130
8130
|
switch (baseComponent.id) {
|
|
8131
|
-
case "noteInfo": return createComponentConfig(baseComponent, { lazyComponent: () => import("./noteInfo-
|
|
8132
|
-
case "comment": return createComponentConfig(baseComponent, { lazyComponent: () => import("./Comment-
|
|
8131
|
+
case "noteInfo": return createComponentConfig(baseComponent, { lazyComponent: () => import("./noteInfo-D_BhS1le.js").then((module) => ({ default: module.XiaohongshuNoteInfo })) });
|
|
8132
|
+
case "comment": return createComponentConfig(baseComponent, { lazyComponent: () => import("./Comment-C_YwQUnb.js").then((module) => ({ default: module.XiaohongshuComment })) });
|
|
8133
8133
|
default: return createComponentConfig(baseComponent);
|
|
8134
8134
|
}
|
|
8135
8135
|
});
|
|
@@ -8137,11 +8137,11 @@ var componentConfigs = baseComponentConfigs.map((basePlatform) => {
|
|
|
8137
8137
|
case PlatformType.OTHER:
|
|
8138
8138
|
platform.components = basePlatform.components.map((baseComponent) => {
|
|
8139
8139
|
switch (baseComponent.id) {
|
|
8140
|
-
case "help": return createComponentConfig(baseComponent, { lazyComponent: () => import("./Help-
|
|
8141
|
-
case "handlerError": return createComponentConfig(baseComponent, { lazyComponent: () => import("./handlerError-
|
|
8142
|
-
case "changelog": return createComponentConfig(baseComponent, { lazyComponent: () => import("./changelog-
|
|
8143
|
-
case "version_warning": return createComponentConfig(baseComponent, { lazyComponent: () => import("./VersionWarning-
|
|
8144
|
-
case "qrlogin": return createComponentConfig(baseComponent, { lazyComponent: () => import("./qrlogin-
|
|
8140
|
+
case "help": return createComponentConfig(baseComponent, { lazyComponent: () => import("./Help-DxWnO364.js").then((module) => ({ default: module.default })) });
|
|
8141
|
+
case "handlerError": return createComponentConfig(baseComponent, { lazyComponent: () => import("./handlerError-DsnWvz4S.js").then((module) => ({ default: module.handlerError })) });
|
|
8142
|
+
case "changelog": return createComponentConfig(baseComponent, { lazyComponent: () => import("./changelog-e1jZ80d5.js").then((module) => ({ default: module.Changelog })) });
|
|
8143
|
+
case "version_warning": return createComponentConfig(baseComponent, { lazyComponent: () => import("./VersionWarning-BBilm7ZQ.js").then((module) => ({ default: module.VersionWarning })) });
|
|
8144
|
+
case "qrlogin": return createComponentConfig(baseComponent, { lazyComponent: () => import("./qrlogin-FkNz8tfK.js").then((module) => ({ default: module.QrLogin })) });
|
|
8145
8145
|
default: return createComponentConfig(baseComponent);
|
|
8146
8146
|
}
|
|
8147
8147
|
});
|
|
@@ -8149,8 +8149,8 @@ var componentConfigs = baseComponentConfigs.map((basePlatform) => {
|
|
|
8149
8149
|
case PlatformType.STATISTICS:
|
|
8150
8150
|
platform.components = basePlatform.components.map((baseComponent) => {
|
|
8151
8151
|
switch (baseComponent.id) {
|
|
8152
|
-
case "group": return createComponentConfig(baseComponent, { lazyComponent: () => import("./GroupStatistics-
|
|
8153
|
-
case "global": return createComponentConfig(baseComponent, { lazyComponent: () => import("./GlobalStatistics-
|
|
8152
|
+
case "group": return createComponentConfig(baseComponent, { lazyComponent: () => import("./GroupStatistics-BQc8xoUG.js").then((module) => ({ default: module.GroupStatistics })) });
|
|
8153
|
+
case "global": return createComponentConfig(baseComponent, { lazyComponent: () => import("./GlobalStatistics-PgMjuEI0.js").then((module) => ({ default: module.GlobalStatistics })) });
|
|
8154
8154
|
default: return createComponentConfig(baseComponent);
|
|
8155
8155
|
}
|
|
8156
8156
|
});
|
|
@@ -8888,7 +8888,8 @@ var Render = async (event, path$1, data) => {
|
|
|
8888
8888
|
});
|
|
8889
8889
|
ret.push(segment.image("base64://" + finalImageBuffer.toString("base64")));
|
|
8890
8890
|
}
|
|
8891
|
-
|
|
8891
|
+
const statsText = imageStats.map((stat, i) => ` [${i + 1}] 类型: ${stat.type}, 大小: ${stat.sizeMb}MB, 尺寸: ${stat.dimensions}`).join("\n");
|
|
8892
|
+
logger.debug(`[Render] 图片处理完成,准备入队发送:\n共 ${imageStats.length} 张图片:\n${statsText}`);
|
|
8892
8893
|
return ret;
|
|
8893
8894
|
};
|
|
8894
8895
|
var getImageMetadata = (buffer) => {
|
|
@@ -16938,7 +16939,7 @@ var getDouyinID = async (event, url, log = true) => {
|
|
|
16938
16939
|
};
|
|
16939
16940
|
break;
|
|
16940
16941
|
}
|
|
16941
|
-
case /https:\/\/(?:www\.douyin\.com|www\.iesdouyin\.com)\/share\/user\/(\S+)/.test(longLink): {
|
|
16942
|
+
case /https:\/\/(?:www\.douyin\.com|www\.iesdouyin\.com)\/(?:share\/)?user\/(\S+)/.test(longLink): {
|
|
16942
16943
|
const userMatch = /user\/([a-zA-Z0-9_-]+)/.exec(longLink);
|
|
16943
16944
|
result = {
|
|
16944
16945
|
type: "user_dynamic",
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { bt as renderVideoPreviewPage, st as template_default, yt as reactServerRender } from "./main-
|
|
1
|
+
import { bt as renderVideoPreviewPage, st as template_default, yt as reactServerRender } from "./main-6QQJ5H3C.js";
|
|
2
2
|
import "./vendor-CupLbLdw.js";
|
|
3
3
|
export { template_default as default, reactServerRender, renderVideoPreviewPage };
|
package/lib/index.js
CHANGED
package/lib/root.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Dt as Root } from "./core_chunk/main-
|
|
1
|
+
import { Dt as Root } from "./core_chunk/main-6QQJ5H3C.js";
|
|
2
2
|
export { Root };
|
package/lib/web.config.js
CHANGED
package/package.json
CHANGED