karin-plugin-kkk 2.45.1-beta.0 → 2.45.1-beta.1
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/build-metadata.json +5 -5
- package/lib/core_chunk/default.js +2854 -86
- package/lib/core_chunk/main.js +6 -3
- package/lib/core_chunk/vendor.js +2 -2307
- package/package.json +2 -2
package/lib/core_chunk/main.js
CHANGED
|
@@ -21736,7 +21736,7 @@ var ERROR_KIND_META = {
|
|
|
21736
21736
|
},
|
|
21737
21737
|
risk: {
|
|
21738
21738
|
zh: "命中风控",
|
|
21739
|
-
hint: "
|
|
21739
|
+
hint: "平台拦了这次请求:多为请求过频或令牌失效,少数才是人机验证。先等几分钟重试,仍失败再考虑换 Cookie"
|
|
21740
21740
|
},
|
|
21741
21741
|
not_found: {
|
|
21742
21742
|
zh: "内容不存在",
|
|
@@ -37980,7 +37980,6 @@ var Xiaohongshu = class extends Base {
|
|
|
37980
37980
|
})).data;
|
|
37981
37981
|
}
|
|
37982
37982
|
async XiaohongshuHandler(data) {
|
|
37983
|
-
if (Config.amagi.cookies.xiaohongshu === "") throw new Error("我还没有小红书的 Cookies,暂时无法解析呢 ~");
|
|
37984
37983
|
if (Config.app.parseTip) await this.e.reply("检测到小红书链接,开始解析");
|
|
37985
37984
|
const NoteData = await this.amagi.xiaohongshu.fetcher.fetchNoteDetail({
|
|
37986
37985
|
note_id: data.note_id,
|
|
@@ -38215,7 +38214,11 @@ var xiaohongshuProcessVideos = (streamData, videoQuality, maxAutoVideoSize) => {
|
|
|
38215
38214
|
"h265",
|
|
38216
38215
|
"h264",
|
|
38217
38216
|
"av1",
|
|
38218
|
-
"h266"
|
|
38217
|
+
"h266",
|
|
38218
|
+
"EF4",
|
|
38219
|
+
"EF5",
|
|
38220
|
+
"EF6",
|
|
38221
|
+
"EF7"
|
|
38219
38222
|
];
|
|
38220
38223
|
const allVideos = [];
|
|
38221
38224
|
for (const codec of codecPriority) allVideos.push(...codecVideos(streamData, codec));
|