karin-plugin-kkk 2.34.0 → 2.35.0
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 +842 -1166
- package/README.md +4 -5
- package/config/default_config/app.yaml +1 -1
- package/config/default_config/bilibili.yaml +2 -2
- package/config/default_config/config.json +136 -0
- package/config/default_config/cookies.yaml +2 -2
- package/config/default_config/douyin.yaml +3 -3
- package/config/default_config/kuaishou.yaml +1 -1
- package/config/default_config/pushlist.yaml +6 -6
- package/config/default_config/request.yaml +1 -1
- package/config/default_config/xiaohongshu.yaml +2 -2
- package/lib/build-metadata.json +5 -5
- package/lib/core_chunk/amagi.d.mts +18 -18
- package/lib/core_chunk/amagi.js +1 -1
- package/lib/core_chunk/amagiClient.js +1 -1
- package/lib/core_chunk/main.js +618 -1833
- package/lib/core_chunk/vendor.js +4564 -2166
- package/lib/root.js +1 -1
- package/lib/web/assets/CronEditor-Cg5OQ1zE.js +1 -0
- package/lib/web/assets/DesktopLayout-R64EJDVu.js +1 -0
- package/lib/web/assets/MobileLayout-D45Q2A-w.js +2 -0
- package/lib/web/assets/ThemeSwitch-M2yTf191.js +1 -0
- package/lib/web/assets/index-Bz9RVG7l.js +28 -0
- package/lib/web/assets/index-C9k3Jf0p.css +2 -0
- package/lib/web/index.html +3 -3
- package/package.json +28 -28
- package/resources/font/bilifont/font.css +3 -3
- package/resources/font/fansmedal-num/font.css +1 -1
- package/lib/web/assets/AboutPanel-DFjZYu60.js +0 -1
- package/lib/web/assets/DesktopLayout-Cr5AitGP.js +0 -1
- package/lib/web/assets/MobileLayout-BW-vN-VU.js +0 -2
- package/lib/web/assets/index-8KaTMCj2.css +0 -2
- package/lib/web/assets/index-CQhoJUBv.js +0 -28
package/README.md
CHANGED
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
|
|
16
16
|
---
|
|
17
17
|
|
|
18
|
-
|
|
|
19
|
-
|
|
|
20
|
-
| **📖 文档** | [](https://karin-plugin-kkk-docs.vercel.app) [](https://karin-plugin-kkk-docs.netlify.app) | [](https://kkk.karinjs.com) [](https://kkk.qwqo.cn)
|
|
21
|
-
| **🧠 Wiki** | [](https://deepwiki.com/ikenxuan/karin-plugin-kkk)
|
|
18
|
+
| | 海外 | 中国大陆 |
|
|
19
|
+
| :---------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
20
|
+
| **📖 文档** | [](https://karin-plugin-kkk-docs.vercel.app) [](https://karin-plugin-kkk-docs.netlify.app) | [](https://kkk.karinjs.com) [](https://kkk.qwqo.cn) |
|
|
21
|
+
| **🧠 Wiki** | [](https://deepwiki.com/ikenxuan/karin-plugin-kkk) | [](https://zread.ai/ikenxuan/karin-plugin-kkk) |
|
|
22
22
|
|
|
23
23
|
**💬 交流**
|
|
24
24
|
|
|
@@ -53,7 +53,6 @@
|
|
|
53
53
|
|
|
54
54
|
本项目由 **[ikenxuan](https://github.com/ikenxuan)** 提供产品创意与 UI 设计,并在 **[Codex](https://chatgpt.com/codex/cloud)** 与 **[Claude Code](https://claude.ai/code)** 的辅助下完成工程开发。
|
|
55
55
|
|
|
56
|
-
|
|
57
56
|
## License
|
|
58
57
|
|
|
59
58
|
本项目采用 [GPL-3.0](./LICENSE) 开源,禁止商用。二次分发请注明出处。使用风险自担。
|
|
@@ -83,7 +83,7 @@ verticalMode: 'off'
|
|
|
83
83
|
videoCodec: 'h265'
|
|
84
84
|
|
|
85
85
|
# B站推送相关配置
|
|
86
|
-
push:
|
|
86
|
+
push:
|
|
87
87
|
# 推送开关,开启后需重启;使用「#设置B站推送 + 用户UID」配置推送列表
|
|
88
88
|
switch: true
|
|
89
89
|
# 谁可以设置推送,all为所有人,admin为管理员,master为主人,group.owner为群主,group.admin为群管理员。修改后需重启
|
|
@@ -105,4 +105,4 @@ push:
|
|
|
105
105
|
# - 120: 4K 超清 (需大会员且支持4K)
|
|
106
106
|
pushVideoQuality: 0
|
|
107
107
|
# 推送时遇到视频动态时解析的视频体积上限,自动画质模式下可接受的最大视频大小(单位:MB),仅在 「pushVideoQuality」 为 0 且「parsedynamic」为 true时生效
|
|
108
|
-
pushMaxAutoVideoSize: 50
|
|
108
|
+
pushMaxAutoVideoSize: 50
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
{
|
|
2
|
+
"amagi": {
|
|
3
|
+
"timeout": 30000,
|
|
4
|
+
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36",
|
|
5
|
+
"proxy": {
|
|
6
|
+
"switch": false,
|
|
7
|
+
"host": "127.0.0.1",
|
|
8
|
+
"port": 7890,
|
|
9
|
+
"protocol": "http",
|
|
10
|
+
"auth": {
|
|
11
|
+
"username": "",
|
|
12
|
+
"password": ""
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"cookies": {
|
|
16
|
+
"bilibili": "",
|
|
17
|
+
"douyin": "",
|
|
18
|
+
"kuaishou": "",
|
|
19
|
+
"xiaohongshu": ""
|
|
20
|
+
},
|
|
21
|
+
"APIServer": true,
|
|
22
|
+
"APIServerMount": true,
|
|
23
|
+
"APIServerPort": 4567
|
|
24
|
+
},
|
|
25
|
+
"app": {
|
|
26
|
+
"videoTool": true,
|
|
27
|
+
"priority": 800,
|
|
28
|
+
"removeCache": true,
|
|
29
|
+
"renderScale": 100,
|
|
30
|
+
"Theme": 0,
|
|
31
|
+
"RemoveWatermark": false,
|
|
32
|
+
"RenderWaitTime": 120,
|
|
33
|
+
"EmojiReply": true,
|
|
34
|
+
"parseTip": false,
|
|
35
|
+
"fakeForward": true,
|
|
36
|
+
"errorLogSendTo": ["trigger", "allMasters"],
|
|
37
|
+
"multiPageRender": true,
|
|
38
|
+
"multiPageHeight": 12000,
|
|
39
|
+
"livePhotoSystem": "oppo",
|
|
40
|
+
"livePhotoMode": "video_and_livephoto",
|
|
41
|
+
"qrLoginAddrType": "lan",
|
|
42
|
+
"qrLoginExternalAddr": "",
|
|
43
|
+
"videoSendMode": "base64",
|
|
44
|
+
"usefilelimit": false,
|
|
45
|
+
"filelimit": 2000,
|
|
46
|
+
"compress": false,
|
|
47
|
+
"compresstrigger": 200,
|
|
48
|
+
"compressvalue": 100,
|
|
49
|
+
"usegroupfile": false,
|
|
50
|
+
"groupfilevalue": 200,
|
|
51
|
+
"imageSendMode": "base64",
|
|
52
|
+
"downloadThrottle": false,
|
|
53
|
+
"downloadMaxSpeed": 10,
|
|
54
|
+
"downloadAutoReduce": false,
|
|
55
|
+
"downloadMinSpeed": 1,
|
|
56
|
+
"APIServer": true,
|
|
57
|
+
"APIServerPort": 4567,
|
|
58
|
+
"APIServerMount": true
|
|
59
|
+
},
|
|
60
|
+
"douyin": {
|
|
61
|
+
"switch": true,
|
|
62
|
+
"sendContent": ["info", "comment", "video"],
|
|
63
|
+
"numcomment": 3,
|
|
64
|
+
"subCommentLimit": 7,
|
|
65
|
+
"commentImageCollection": true,
|
|
66
|
+
"liveImageMergeMode": "continuous",
|
|
67
|
+
"videoQuality": "4k",
|
|
68
|
+
"maxAutoVideoSize": 1000,
|
|
69
|
+
"loginPerm": "master",
|
|
70
|
+
"videoInfoMode": "image",
|
|
71
|
+
"displayContent": ["author", "desc", "stats", "cover", "title"],
|
|
72
|
+
"burnDanmaku": false,
|
|
73
|
+
"danmakuArea": 0.5,
|
|
74
|
+
"danmakuFontSize": "medium",
|
|
75
|
+
"danmakuOpacity": 70,
|
|
76
|
+
"verticalMode": "standard",
|
|
77
|
+
"videoCodec": "h265",
|
|
78
|
+
"push": {
|
|
79
|
+
"switch": true,
|
|
80
|
+
"permission": "all",
|
|
81
|
+
"cron": "*/10 * * * *",
|
|
82
|
+
"parsedynamic": true,
|
|
83
|
+
"shareType": "web",
|
|
84
|
+
"pushVideoQuality": "4k",
|
|
85
|
+
"pushMaxAutoVideoSize": 1000
|
|
86
|
+
},
|
|
87
|
+
"subCommentDepth": 6,
|
|
88
|
+
"realCommentCount": false,
|
|
89
|
+
"textMode": false
|
|
90
|
+
},
|
|
91
|
+
"bilibili": {
|
|
92
|
+
"switch": true,
|
|
93
|
+
"sendContent": ["info", "video", "comment"],
|
|
94
|
+
"numcomment": 15,
|
|
95
|
+
"realCommentCount": false,
|
|
96
|
+
"commentImageCollection": true,
|
|
97
|
+
"videoQuality": 127,
|
|
98
|
+
"maxAutoVideoSize": 1000,
|
|
99
|
+
"loginPerm": "master",
|
|
100
|
+
"imageLayout": "auto",
|
|
101
|
+
"videoInfoMode": "image",
|
|
102
|
+
"displayContent": ["author", "stats", "cover", "title", "desc"],
|
|
103
|
+
"showDanmakuInVideoInfo": true,
|
|
104
|
+
"burnDanmaku": false,
|
|
105
|
+
"danmakuArea": 0.5,
|
|
106
|
+
"danmakuFontSize": "medium",
|
|
107
|
+
"danmakuOpacity": 70,
|
|
108
|
+
"verticalMode": "standard",
|
|
109
|
+
"videoCodec": "h265",
|
|
110
|
+
"push": {
|
|
111
|
+
"switch": true,
|
|
112
|
+
"permission": "all",
|
|
113
|
+
"cron": "*/10 * * * *",
|
|
114
|
+
"parsedynamic": true,
|
|
115
|
+
"pushVideoQuality": 120,
|
|
116
|
+
"pushMaxAutoVideoSize": 1000
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"kuaishou": {
|
|
120
|
+
"switch": true,
|
|
121
|
+
"comment": true,
|
|
122
|
+
"numcomment": 10
|
|
123
|
+
},
|
|
124
|
+
"xiaohongshu": {
|
|
125
|
+
"switch": true,
|
|
126
|
+
"watermark": false,
|
|
127
|
+
"sendContent": ["comment", "info", "video", "image"],
|
|
128
|
+
"numcomment": 10,
|
|
129
|
+
"videoQuality": "4k",
|
|
130
|
+
"maxAutoVideoSize": 1000
|
|
131
|
+
},
|
|
132
|
+
"pushlist": {
|
|
133
|
+
"douyin": [],
|
|
134
|
+
"bilibili": []
|
|
135
|
+
}
|
|
136
|
+
}
|
|
@@ -80,7 +80,7 @@ verticalMode: 'off'
|
|
|
80
80
|
videoCodec: 'h265'
|
|
81
81
|
|
|
82
82
|
# 抖音推送相关配置
|
|
83
|
-
push:
|
|
83
|
+
push:
|
|
84
84
|
# 推送开关,开启后需重启;使用「#设置抖音推送 + 抖音号」配置推送列表
|
|
85
85
|
switch: true
|
|
86
86
|
# 谁可以设置推送,all为所有人,admin为管理员,master为主人,group.owner为群主,group.admin为群管理员。修改后需重启
|
|
@@ -94,6 +94,6 @@ push:
|
|
|
94
94
|
# 推送解析时视频画质偏好设置,'adapt' 为自动根据「maxAutoVideoSize」大小选择,其他为固定画质
|
|
95
95
|
# 可选值:'adapt'、'540p'、'720p'、'1080p'、'2k'、'4k'
|
|
96
96
|
pushVideoQuality: '4k'
|
|
97
|
-
|
|
97
|
+
|
|
98
98
|
# 推送解析时视频体积上限,自动画质模式下可接受的最大视频大小(单位:MB),仅在 「videoQuality」 为 'adapt' 时生效
|
|
99
|
-
pushMaxAutoVideoSize: 50
|
|
99
|
+
pushMaxAutoVideoSize: 50
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
# douyin:
|
|
3
3
|
# -
|
|
4
4
|
# # 抖音用户(可不填,执行推送时会自动填上)
|
|
5
|
-
# sec_uid:
|
|
5
|
+
# sec_uid:
|
|
6
6
|
# # 抖音号(必填)
|
|
7
|
-
# short_id:
|
|
7
|
+
# short_id:
|
|
8
8
|
# # 推送群号和机器人账号,多个则使用逗号隔开(必填,例子:[12345678:87654321, 11451419:88888888],群号就是11451419,机器人账号就是88888888)
|
|
9
9
|
# group_id:
|
|
10
10
|
# - 1145141919810:8888888888
|
|
11
11
|
# # 这个博主的名字信息(可不填,执行推送时会自动填上)
|
|
12
|
-
# remark:
|
|
12
|
+
# remark:
|
|
13
13
|
# # 推送类型(可选,默认为 [post])
|
|
14
14
|
# # post: 作品列表
|
|
15
15
|
# # favorite: 喜欢列表
|
|
@@ -23,15 +23,15 @@
|
|
|
23
23
|
# bilibili:
|
|
24
24
|
# -
|
|
25
25
|
# # B站用户(必填)
|
|
26
|
-
# host_mid:
|
|
26
|
+
# host_mid:
|
|
27
27
|
# # 推送群号和机器人账号,多个则使用逗号隔开(必填,例子:[12345678:87654321, 11451419:88888888],群号就是11451419,机器人账号就是88888888)
|
|
28
28
|
# group_id:
|
|
29
29
|
# - 1145141919810:8888888888
|
|
30
30
|
# # 这个UP主的名字信息(可不填,执行推送时会自动填上)
|
|
31
|
-
# remark:
|
|
31
|
+
# remark:
|
|
32
32
|
|
|
33
33
|
# 抖音推送列表
|
|
34
34
|
douyin: []
|
|
35
35
|
|
|
36
36
|
# B站推送列表
|
|
37
|
-
bilibili: []
|
|
37
|
+
bilibili: []
|
|
@@ -7,7 +7,7 @@ sendContent:
|
|
|
7
7
|
- 'comment'
|
|
8
8
|
- 'image'
|
|
9
9
|
- 'video'
|
|
10
|
-
|
|
10
|
+
|
|
11
11
|
# 小红书评论数量(预留)
|
|
12
12
|
numcomment: 10
|
|
13
13
|
|
|
@@ -20,4 +20,4 @@ numcomment: 10
|
|
|
20
20
|
videoQuality: '4k'
|
|
21
21
|
|
|
22
22
|
# 视频体积上限,自动画质模式下可接受的最大视频大小(单位:MB),仅在 「videoQuality」 为 'adapt' 时生效
|
|
23
|
-
maxAutoVideoSize: 50
|
|
23
|
+
maxAutoVideoSize: 50
|
package/lib/build-metadata.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.
|
|
3
|
-
"buildTime": "2026-06-
|
|
4
|
-
"buildTimestamp":
|
|
2
|
+
"version": "2.35.0",
|
|
3
|
+
"buildTime": "2026-06-12T11:43:19.309Z",
|
|
4
|
+
"buildTimestamp": 1781264599309,
|
|
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": "db1107f28d98882079cd25f3af705045aa734206",
|
|
9
|
+
"shortCommitHash": "db1107f2"
|
|
10
10
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as ChalkInstance } from "./index-_og592jD.mjs";
|
|
2
|
-
import { EventEmitter } from "node:events";
|
|
2
|
+
import { EventEmitter as EventEmitter$1 } from "node:events";
|
|
3
3
|
import zod from "zod";
|
|
4
4
|
import { AxiosRequestConfig, AxiosResponse, RawAxiosResponseHeaders } from "axios";
|
|
5
5
|
import express from "express";
|
|
@@ -1345,7 +1345,7 @@ declare const xiaohongshuApiUrls: {
|
|
|
1345
1345
|
* @param data - 请求参数
|
|
1346
1346
|
* @returns 完整的接口URL
|
|
1347
1347
|
*/
|
|
1348
|
-
emojiList(
|
|
1348
|
+
emojiList(_data: XiaohongshuMethodOptionsWithoutMethodType["EmojiListParams"]): {
|
|
1349
1349
|
apiPath: string;
|
|
1350
1350
|
Url: string;
|
|
1351
1351
|
};
|
|
@@ -5211,7 +5211,7 @@ type Item$12 = {
|
|
|
5211
5211
|
id_str: string;
|
|
5212
5212
|
modules: ItemModules$5;
|
|
5213
5213
|
orig: Orig$4;
|
|
5214
|
-
type:
|
|
5214
|
+
type: DynamicType.AV;
|
|
5215
5215
|
visible: boolean;
|
|
5216
5216
|
[property: string]: any;
|
|
5217
5217
|
};
|
|
@@ -24075,7 +24075,7 @@ type DySearchInfo = SearchInfoGeneralData | SearchInfoUser | SearchInfoVideo;
|
|
|
24075
24075
|
* 将 methodType 映射到对应的返回数据类型
|
|
24076
24076
|
*/
|
|
24077
24077
|
interface DouyinReturnTypeMap {
|
|
24078
|
-
parseWork: DyVideoWork | DyImageAlbumWork | DySlidesWork | DyImageAlbumWork & ArticleWork;
|
|
24078
|
+
parseWork: DyVideoWork | DyImageAlbumWork | DySlidesWork | (DyImageAlbumWork & ArticleWork);
|
|
24079
24079
|
textWork: ArticleWork;
|
|
24080
24080
|
videoWork: DyVideoWork;
|
|
24081
24081
|
imageAlbumWork: DyImageAlbumWork;
|
|
@@ -26005,14 +26005,14 @@ declare const XiaohongshuFetcherMethods: {
|
|
|
26005
26005
|
readonly SEARCH_NOTES: "searchNotes";
|
|
26006
26006
|
readonly EMOJI_LIST: "fetchEmojiList";
|
|
26007
26007
|
};
|
|
26008
|
-
type BilibiliInternalMethodKey = typeof BilibiliInternalMethods[keyof typeof BilibiliInternalMethods];
|
|
26009
|
-
type BilibiliFetcherMethodKey = typeof BilibiliFetcherMethods[keyof typeof BilibiliFetcherMethods];
|
|
26010
|
-
type DouyinInternalMethodKey = typeof DouyinInternalMethods[keyof typeof DouyinInternalMethods];
|
|
26011
|
-
type DouyinFetcherMethodKey = typeof DouyinFetcherMethods[keyof typeof DouyinFetcherMethods];
|
|
26012
|
-
type KuaishouInternalMethodKey = typeof KuaishouInternalMethods[keyof typeof KuaishouInternalMethods];
|
|
26013
|
-
type KuaishouFetcherMethodKey = typeof KuaishouFetcherMethods[keyof typeof KuaishouFetcherMethods];
|
|
26014
|
-
type XiaohongshuInternalMethodKey = typeof XiaohongshuInternalMethods[keyof typeof XiaohongshuInternalMethods];
|
|
26015
|
-
type XiaohongshuFetcherMethodKey = typeof XiaohongshuFetcherMethods[keyof typeof XiaohongshuFetcherMethods];
|
|
26008
|
+
type BilibiliInternalMethodKey = (typeof BilibiliInternalMethods)[keyof typeof BilibiliInternalMethods];
|
|
26009
|
+
type BilibiliFetcherMethodKey = (typeof BilibiliFetcherMethods)[keyof typeof BilibiliFetcherMethods];
|
|
26010
|
+
type DouyinInternalMethodKey = (typeof DouyinInternalMethods)[keyof typeof DouyinInternalMethods];
|
|
26011
|
+
type DouyinFetcherMethodKey = (typeof DouyinFetcherMethods)[keyof typeof DouyinFetcherMethods];
|
|
26012
|
+
type KuaishouInternalMethodKey = (typeof KuaishouInternalMethods)[keyof typeof KuaishouInternalMethods];
|
|
26013
|
+
type KuaishouFetcherMethodKey = (typeof KuaishouFetcherMethods)[keyof typeof KuaishouFetcherMethods];
|
|
26014
|
+
type XiaohongshuInternalMethodKey = (typeof XiaohongshuInternalMethods)[keyof typeof XiaohongshuInternalMethods];
|
|
26015
|
+
type XiaohongshuFetcherMethodKey = (typeof XiaohongshuFetcherMethods)[keyof typeof XiaohongshuFetcherMethods];
|
|
26016
26016
|
/** B站:内部中文方法名 -> Fetcher 英文方法名 */
|
|
26017
26017
|
declare const BilibiliMethodToFetcher: Record<BilibiliInternalMethodKey, BilibiliFetcherMethodKey>;
|
|
26018
26018
|
/** 抖音:内部中文方法名 -> Fetcher 英文方法名 */
|
|
@@ -27368,7 +27368,7 @@ interface AmagiEventMap {
|
|
|
27368
27368
|
* 类型安全的事件发射器
|
|
27369
27369
|
* @description 继承自 Node.js EventEmitter,提供泛型约束确保事件名称与数据类型匹配
|
|
27370
27370
|
*/
|
|
27371
|
-
declare class TypedEventEmitter extends EventEmitter {
|
|
27371
|
+
declare class TypedEventEmitter extends EventEmitter$1 {
|
|
27372
27372
|
/**
|
|
27373
27373
|
* 触发事件
|
|
27374
27374
|
* @param event - 事件名称
|
|
@@ -28719,7 +28719,7 @@ declare const DouyinMethodMapping: {
|
|
|
28719
28719
|
readonly 弹幕数据: "fetchDanmakuList";
|
|
28720
28720
|
};
|
|
28721
28721
|
type DouyinMethodKey = keyof typeof DouyinMethodMapping;
|
|
28722
|
-
type DouyinMethodValue = typeof DouyinMethodMapping[DouyinMethodKey];
|
|
28722
|
+
type DouyinMethodValue = (typeof DouyinMethodMapping)[DouyinMethodKey];
|
|
28723
28723
|
declare const BilibiliMethodMapping: {
|
|
28724
28724
|
readonly 单个视频作品数据: "fetchVideoInfo";
|
|
28725
28725
|
readonly 单个视频下载信息数据: "fetchVideoStreamUrl";
|
|
@@ -28750,7 +28750,7 @@ declare const BilibiliMethodMapping: {
|
|
|
28750
28750
|
readonly 验证验证码结果: "validateCaptchaResult";
|
|
28751
28751
|
};
|
|
28752
28752
|
type BilibiliMethodKey = keyof typeof BilibiliMethodMapping;
|
|
28753
|
-
type BilibiliMethodValue = typeof BilibiliMethodMapping[BilibiliMethodKey];
|
|
28753
|
+
type BilibiliMethodValue = (typeof BilibiliMethodMapping)[BilibiliMethodKey];
|
|
28754
28754
|
declare const KuaishouMethodMapping: {
|
|
28755
28755
|
readonly 单个视频作品数据: "fetchVideoWork";
|
|
28756
28756
|
readonly 评论数据: "fetchWorkComments";
|
|
@@ -28760,7 +28760,7 @@ declare const KuaishouMethodMapping: {
|
|
|
28760
28760
|
readonly Emoji数据: "fetchEmojiList";
|
|
28761
28761
|
};
|
|
28762
28762
|
type KuaishouMethodKey = keyof typeof KuaishouMethodMapping;
|
|
28763
|
-
type KuaishouMethodValue = typeof KuaishouMethodMapping[KuaishouMethodKey];
|
|
28763
|
+
type KuaishouMethodValue = (typeof KuaishouMethodMapping)[KuaishouMethodKey];
|
|
28764
28764
|
declare const XiaohongshuMethodMapping: {
|
|
28765
28765
|
readonly 首页推荐数据: "fetchHomeFeed";
|
|
28766
28766
|
readonly 单个笔记数据: "fetchNoteDetail";
|
|
@@ -28771,7 +28771,7 @@ declare const XiaohongshuMethodMapping: {
|
|
|
28771
28771
|
readonly 搜索笔记: "searchNotes";
|
|
28772
28772
|
};
|
|
28773
28773
|
type XiaohongshuMethodKey = keyof typeof XiaohongshuMethodMapping;
|
|
28774
|
-
type XiaohongshuMethodValue = typeof XiaohongshuMethodMapping[XiaohongshuMethodKey];
|
|
28774
|
+
type XiaohongshuMethodValue = (typeof XiaohongshuMethodMapping)[XiaohongshuMethodKey];
|
|
28775
28775
|
/**
|
|
28776
28776
|
* Douyin HTTP API 路由
|
|
28777
28777
|
*
|
|
@@ -28933,4 +28933,4 @@ declare const amagi: typeof Client;
|
|
|
28933
28933
|
*/
|
|
28934
28934
|
//#endregion
|
|
28935
28935
|
//#endregion
|
|
28936
|
-
export { APIErrorType, AdditionalType,
|
|
28936
|
+
export { APIErrorType, AdditionalType, AmagiEventMap, AmagiEventType, type ApiEndpoint, ApiError, ApiErrorEventData, ApiResponse, ApiSuccessEventData, ArticleCard, ArticleContent, ArticleInfo, ArticleWork, BaseRequestOptions, BaseResponse, BiliAv2Bv, BiliBangumiVideoInfo, BiliBangumiVideoPlayurlIsLogin, BiliBangumiVideoPlayurlNoLogin, BiliBiliVideoPlayurlNoLogin, BiliBv2AV, BiliCheckQrcode, BiliCommentReply, BiliDynamicCard, BiliDynamicInfo, BiliDynamicInfoUnion, BiliEmojiList, BiliLiveRoomDef, BiliLiveRoomDetail, BiliNewLoginQrcode, BiliOneWork, BiliProtobufDanmaku, BiliUserDynamic, BiliUserFullView, BiliUserProfile, BiliVideoPlayurlIsLogin, BiliWorkComments, BilibiliApiRoutes, type BilibiliApplyCaptchaOptions, BilibiliApplyCaptchaParamsSchema, type BilibiliArticleCardOptions, BilibiliArticleCardParamsSchema, BilibiliArticleInfoParamsSchema, type BilibiliArticleOptions, BilibiliArticleParamsSchema, type BilibiliAv2BvOptions, BilibiliAv2BvParamsSchema, type BilibiliBangumiInfoOptions, BilibiliBangumiInfoParamsSchema, type BilibiliBangumiStreamOptions, BilibiliBangumiStreamParamsSchema, type BilibiliBv2AvOptions, BilibiliBv2AvParamsSchema, BilibiliColumnInfoParamsSchema, BilibiliCommentParamsSchema, type BilibiliCommentRepliesOptions, BilibiliCommentReplyParamsSchema, type BilibiliCommentsOptions, type BilibiliDanmakuOptions, BilibiliDanmakuParamsSchema, BilibiliDataOptions, BilibiliDataOptionsMap, type BilibiliDynamicOptions, BilibiliDynamicParamsSchema, BilibiliEmojiParamsSchema, type BilibiliFetcher, BilibiliFetcherMethodKey, BilibiliFetcherMethods, BilibiliInternalMethodKey, BilibiliInternalMethods, BilibiliLiveParamsSchema, type BilibiliLiveRoomOptions, BilibiliLoginParamsSchema, type BilibiliMethodKey, BilibiliMethodMapping, BilibiliMethodOptMap, BilibiliMethodOptionsMap, BilibiliMethodRoutes, BilibiliMethodToFetcher, BilibiliMethodType, type BilibiliMethodValue, BilibiliQrcodeParamsSchema, type BilibiliQrcodeStatusOptions, BilibiliQrcodeStatusParamsSchema, BilibiliReturnTypeMap, type BilibiliUserOptions, BilibiliUserParamsSchema, type BilibiliValidateCaptchaOptions, BilibiliValidateCaptchaParamsSchema, BilibiliValidationSchemas, BilibiliVideoDownloadParamsSchema, type BilibiliVideoInfoOptions, BilibiliVideoParamsSchema, type BilibiliVideoStreamOptions, BoundBilibiliApi, type BoundBilibiliFetcher, BoundDouyinApi, type BoundDouyinFetcher, BoundKuaishouApi, type BoundKuaishouFetcher, BoundXiaohongshuApi, type BoundXiaohongshuFetcher, ColumnInfo, CommentReply, CommentType, ConditionalReturnType, CookieConfig, CreateApp, DouyinApiRoutes, DouyinCommentParamsSchema, type DouyinCommentRepliesOptions, DouyinCommentReplyParamsSchema, type DouyinCommentsOptions, type DouyinDanmakuOptions, DouyinDanmakuParamsSchema, DouyinDataOptions, DouyinDataOptionsMap, DouyinEmojiListParamsSchema, DouyinEmojiProParamsSchema, type DouyinFetcher, DouyinFetcherMethodKey, DouyinFetcherMethods, DouyinHotWordsParamsSchema, DouyinInternalMethodKey, DouyinInternalMethods, type DouyinLiveRoomOptions, DouyinLiveRoomParamsSchema, type DouyinMethodKey, DouyinMethodMapping, DouyinMethodOptMap, DouyinMethodOptionsMap, DouyinMethodRoutes, DouyinMethodToFetcher, DouyinMethodType, type DouyinMethodValue, type DouyinMusicOptions, DouyinMusicParamsSchema, type DouyinQrcodeOptions, DouyinQrcodeParamsSchema, DouyinReturnTypeMap, type DouyinSearchOptions, DouyinSearchParamsSchema, type DouyinSuggestWordsOptions, type DouyinUserListOptions, DouyinUserListParamsSchema, type DouyinUserOptions, DouyinUserParamsSchema, DouyinValidationSchemas, type DouyinWorkOptions, DouyinWorkParamsSchema, DyDanmakuList, DyEmojiList, DyEmojiProList, DyImageAlbumWork, DyMusicWork, DySearchInfo, DySlidesWork, DySuggestWords, DyUserInfo, DyUserLiveVideos, DyUserPostVideos, DyVideoWork, DyWorkComments, DynamicType, DynamicTypeAV, DynamicTypeArticle, DynamicTypeDraw, DynamicTypeForward, DynamicTypeForwardUnion, DynamicTypeLiveRcmd, DynamicTypeWord, ErrorResult, ExtractTypeMode, FetcherConfig, HomeFeed, type HttpMethod, HttpRequestEventData, HttpResponseEventData, type IBilibiliFetcher, type IBoundBilibiliFetcher, type IBoundDouyinFetcher, type IBoundKuaishouFetcher, type IBoundXiaohongshuFetcher, type IDouyinFetcher, type IKuaishouFetcher, type IXiaohongshuFetcher, type KsBannedStatus, KsEmojiList, KsLiveRoomInfo, KsOneWork, type KsUserHomeWork, KsUserProfile, type KsUserProfileCounts, type KsUserProfileGameInfo, type KsUserProfileLiveInfo, type KsUserProfileSensitiveInfo, type KsUserProfileUserInfo, KsUserWorkList, type KsVerifiedStatus, KsWorkComments, KuaishouApiRoutes, KuaishouCommentParamsSchema, type KuaishouCommentsOptions, KuaishouDataOptions, KuaishouDataOptionsMap, KuaishouEmojiParamsSchema, type KuaishouFetcher, KuaishouFetcherMethodKey, KuaishouFetcherMethods, type KuaishouGraphqlRequest, KuaishouInternalMethodKey, KuaishouInternalMethods, type KuaishouLiveApiRequest, type KuaishouLiveRoomInfoOptions, KuaishouLiveRoomInfoParamsSchema, type KuaishouMethodKey, KuaishouMethodMapping, KuaishouMethodOptMap, KuaishouMethodOptionsMap, KuaishouMethodRoutes, KuaishouMethodToFetcher, KuaishouMethodType, type KuaishouMethodValue, KuaishouReturnTypeMap, type KuaishouUserProfileOptions, KuaishouUserProfileParamsSchema, type KuaishouUserWorkListOptions, KuaishouUserWorkListParamsSchema, KuaishouValidationSchemas, KuaishouVideoParamsSchema, type KuaishouVideoWorkOptions, LogEventData, MajorType, MethodMaps, NetworkErrorEventData, NetworkRetryEventData, type NetworksConfigType, NoteComments, OmitMethodType, OneNote, Options, type Platform, RequestConfig, Result, SearchInfoGeneralData, SearchInfoUser, SearchInfoVideo, SearchNotes, SuccessResult, TypeControl, TypeMode, ValidationError, XiaohongshuApiRoutes, type XiaohongshuCommentsOptions, XiaohongshuDataOptions, XiaohongshuDataOptionsMap, XiaohongshuEmojiList, type XiaohongshuFetcher, XiaohongshuFetcherMethodKey, XiaohongshuFetcherMethods, type XiaohongshuHomeFeedOptions, XiaohongshuInternalMethodKey, XiaohongshuInternalMethods, type XiaohongshuMethodKey, XiaohongshuMethodMapping, XiaohongshuMethodOptMap, XiaohongshuMethodOptionsMap, XiaohongshuMethodRoutes, XiaohongshuMethodToFetcher, XiaohongshuMethodType, type XiaohongshuMethodValue, type XiaohongshuNoteDetailOptions, XiaohongshuReturnTypeMap, type XiaohongshuSearchNotesOptions, type XiaohongshuUserNotesOptions, XiaohongshuUserProfile, type XiaohongshuUserProfileOptions, XiaohongshuValidationSchemas, amagi, amagiClient, amagiEvents, av2bv, bilibili, bilibiliApiUrls, bilibiliErrorCodeMap, bilibiliFetcher, bilibiliUtils, bv2av, createAmagiClient, createBilibiliRoutes, createBilibiliRoutes as registerBilibiliRoutes, createBoundBilibiliApi, createBoundBilibiliFetcher, createBoundDouyinApi, createBoundDouyinFetcher, createBoundKuaishouApi, createBoundKuaishouFetcher, createBoundXiaohongshuApi, createBoundXiaohongshuFetcher, createDouyinRoutes, createDouyinRoutes as registerDouyinRoutes, createErrorResponse, createKuaishouRoutes, createKuaishouRoutes as registerKuaishouRoutes, createSuccessResponse, createXiaohongshuRoutes, createXiaohongshuRoutes as registerXiaohongshuRoutes, douyin, douyinApiUrls, douyinFetcher, douyinSign, douyinUtils, emitApiError, emitApiSuccess, emitHttpRequest, emitHttpResponse, emitLog, emitLogDebug, emitLogError, emitLogInfo, emitLogMark, emitLogWarn, emitNetworkError, emitNetworkRetry, fetchData, fetchResponse, getApiRoute, getBilibiliData, getDouyinData, getEnglishMethodName, getHeadersAndData, getKuaishouData, handleError, httpLogger, initLogger, isNetworkErrorResult, kuaishou, kuaishouApiUrls, kuaishouFetcher, kuaishouSign, kuaishouUtils, logMiddleware, logger, parseDmSegMobileReply, qtparam, toFetcherMethod, validateBilibiliParams, validateDouyinParams, validateKuaishouParams, validateXiaohongshuParams, wbi_sign, xiaohongshu, xiaohongshuApiUrls, xiaohongshuFetcher, xiaohongshuSign, xiaohongshuUtils };
|
package/lib/core_chunk/amagi.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $n as
|
|
1
|
+
import { $n as xiaohongshuSign, $r as emitLogDebug, $t as CommentType, An as getHeadersAndData, Ar as BilibiliBv2AvParamsSchema, At as KuaishouApiRoutes, Bn as douyinApiUrls, Br as BilibiliQrcodeParamsSchema, Bt as DouyinInternalMethods, Cn as qtparam, Cr as BilibiliApplyCaptchaParamsSchema, Ct as CreateApp, Dn as logger, Dr as BilibiliAv2BvParamsSchema, Dt as BilibiliMethodMapping, En as logMiddleware, Er as BilibiliArticleParamsSchema, Et as BilibiliApiRoutes, Fn as kuaishouFetcher, Fr as BilibiliDynamicParamsSchema, Ft as getEnglishMethodName, Gn as createSuccessResponse, Gr as BilibiliVideoDownloadParamsSchema, Gt as MethodMaps, Hn as bilibiliFetcher, Hr as BilibiliUserParamsSchema, Ht as KuaishouFetcherMethods, In as kuaishouSign, Ir as BilibiliEmojiParamsSchema, It as BilibiliFetcherMethods, Jn as validateKuaishouParams, Jr as emitApiError, Jt as XiaohongshuMethodToFetcher, Kn as validateBilibiliParams, Kr as BilibiliVideoParamsSchema, Kt as XiaohongshuFetcherMethods, Ln as kuaishouApiUrls, Lr as BilibiliLiveParamsSchema, Lt as BilibiliInternalMethods, Mn as createBoundXiaohongshuFetcher, Mr as BilibiliCommentParamsSchema, Mt as XiaohongshuApiRoutes, Nn as xiaohongshuFetcher, Nr as BilibiliCommentReplyParamsSchema, Nt as XiaohongshuMethodMapping, On as fetchData, Or as BilibiliBangumiInfoParamsSchema, Ot as DouyinApiRoutes, Pn as createBoundKuaishouFetcher, Pr as BilibiliDanmakuParamsSchema, Pt as getApiRoute, Qn as xiaohongshuApiUrls, Qr as emitLog, Qt as MajorType, Rn as douyinFetcher, Rr as BilibiliLoginParamsSchema, Rt as BilibiliMethodToFetcher, Sn as bv2av, Sr as DouyinWorkParamsSchema, Tn as initLogger, Tr as BilibiliArticleInfoParamsSchema, Tt as amagiClient, Un as createBoundBilibiliFetcher, Ur as BilibiliValidateCaptchaParamsSchema, Ut as KuaishouInternalMethods, Vn as douyinSign, Vr as BilibiliQrcodeStatusParamsSchema, Vt as DouyinMethodToFetcher, Wn as createErrorResponse, Wr as BilibiliValidationSchemas, Wt as KuaishouMethodToFetcher, Xn as XiaohongshuMethodRoutes, Xr as emitHttpRequest, Xt as DynamicType, Yn as validateXiaohongshuParams, Yr as emitApiSuccess, Yt as toFetcherMethod, Zn as XiaohongshuValidationSchemas, Zr as emitHttpResponse, Zt as AdditionalType, _n as handleError, _r as DouyinQrcodeParamsSchema, ai as emitNetworkRetry, an as kuaishouUtils, ar as KuaishouUserWorkListParamsSchema, bn as parseDmSegMobileReply, br as DouyinUserParamsSchema, ci as bilibiliApiUrls, cn as kuaishou, cr as DouyinCommentParamsSchema, di as getKuaishouData, dn as createBoundDouyinApi, dr as DouyinEmojiListParamsSchema, ei as emitLogError, en as createAmagiClient, er as KuaishouCommentParamsSchema, fn as douyin, fr as DouyinEmojiProParamsSchema, gn as ValidationError, gr as DouyinMusicParamsSchema, hn as ApiError, hr as DouyinMethodRoutes, ii as emitNetworkError, in as xiaohongshu, ir as KuaishouUserProfileParamsSchema, jn as isNetworkErrorResult, jr as BilibiliColumnInfoParamsSchema, jt as KuaishouMethodMapping, kn as fetchResponse, kr as BilibiliBangumiStreamParamsSchema, kt as DouyinMethodMapping, li as getBilibiliData, ln as douyinUtils, lr as DouyinCommentReplyParamsSchema, mn as createBilibiliRoutes, mr as DouyinLiveRoomParamsSchema, ni as emitLogMark, nn as createXiaohongshuRoutes, nr as KuaishouLiveRoomInfoParamsSchema, oi as bilibili, on as createKuaishouRoutes, or as KuaishouValidationSchemas, pn as bilibiliUtils, pr as DouyinHotWordsParamsSchema, qn as validateDouyinParams, qr as amagiEvents, qt as XiaohongshuInternalMethods, ri as emitLogWarn, rn as createBoundXiaohongshuApi, rr as KuaishouMethodRoutes, si as createBoundBilibiliApi, sn as createBoundKuaishouApi, sr as KuaishouVideoParamsSchema, ti as emitLogInfo, tn as xiaohongshuUtils, tr as KuaishouEmojiParamsSchema, ui as getDouyinData, un as createDouyinRoutes, ur as DouyinDanmakuParamsSchema, vn as bilibiliErrorCodeMap, vr as DouyinSearchParamsSchema, wn as httpLogger, wr as BilibiliArticleCardParamsSchema, wt as amagi, xn as av2bv, xr as DouyinValidationSchemas, yn as wbi_sign, yr as DouyinUserListParamsSchema, zn as createBoundDouyinFetcher, zr as BilibiliMethodRoutes, zt as DouyinFetcherMethods } from "./main.js";
|
|
2
2
|
export { AdditionalType, ApiError, BilibiliApiRoutes, BilibiliApplyCaptchaParamsSchema, BilibiliArticleCardParamsSchema, BilibiliArticleInfoParamsSchema, BilibiliArticleParamsSchema, BilibiliAv2BvParamsSchema, BilibiliBangumiInfoParamsSchema, BilibiliBangumiStreamParamsSchema, BilibiliBv2AvParamsSchema, BilibiliColumnInfoParamsSchema, BilibiliCommentParamsSchema, BilibiliCommentReplyParamsSchema, BilibiliDanmakuParamsSchema, BilibiliDynamicParamsSchema, BilibiliEmojiParamsSchema, BilibiliFetcherMethods, BilibiliInternalMethods, BilibiliLiveParamsSchema, BilibiliLoginParamsSchema, BilibiliMethodMapping, BilibiliMethodRoutes, BilibiliMethodToFetcher, BilibiliQrcodeParamsSchema, BilibiliQrcodeStatusParamsSchema, BilibiliUserParamsSchema, BilibiliValidateCaptchaParamsSchema, BilibiliValidationSchemas, BilibiliVideoDownloadParamsSchema, BilibiliVideoParamsSchema, CommentType, CreateApp, DouyinApiRoutes, DouyinCommentParamsSchema, DouyinCommentReplyParamsSchema, DouyinDanmakuParamsSchema, DouyinEmojiListParamsSchema, DouyinEmojiProParamsSchema, DouyinFetcherMethods, DouyinHotWordsParamsSchema, DouyinInternalMethods, DouyinLiveRoomParamsSchema, DouyinMethodMapping, DouyinMethodRoutes, DouyinMethodToFetcher, DouyinMusicParamsSchema, DouyinQrcodeParamsSchema, DouyinSearchParamsSchema, DouyinUserListParamsSchema, DouyinUserParamsSchema, DouyinValidationSchemas, DouyinWorkParamsSchema, DynamicType, KuaishouApiRoutes, KuaishouCommentParamsSchema, KuaishouEmojiParamsSchema, KuaishouFetcherMethods, KuaishouInternalMethods, KuaishouLiveRoomInfoParamsSchema, KuaishouMethodMapping, KuaishouMethodRoutes, KuaishouMethodToFetcher, KuaishouUserProfileParamsSchema, KuaishouUserWorkListParamsSchema, KuaishouValidationSchemas, KuaishouVideoParamsSchema, MajorType, MethodMaps, ValidationError, XiaohongshuApiRoutes, XiaohongshuFetcherMethods, XiaohongshuInternalMethods, XiaohongshuMethodMapping, XiaohongshuMethodRoutes, XiaohongshuMethodToFetcher, XiaohongshuValidationSchemas, amagi, amagiClient, amagiEvents, av2bv, bilibili, bilibiliApiUrls, bilibiliErrorCodeMap, bilibiliFetcher, bilibiliUtils, bv2av, createAmagiClient, createBilibiliRoutes, createBilibiliRoutes as registerBilibiliRoutes, createBoundBilibiliApi, createBoundBilibiliFetcher, createBoundDouyinApi, createBoundDouyinFetcher, createBoundKuaishouApi, createBoundKuaishouFetcher, createBoundXiaohongshuApi, createBoundXiaohongshuFetcher, createDouyinRoutes, createDouyinRoutes as registerDouyinRoutes, createErrorResponse, createKuaishouRoutes, createKuaishouRoutes as registerKuaishouRoutes, createSuccessResponse, createXiaohongshuRoutes, createXiaohongshuRoutes as registerXiaohongshuRoutes, douyin, douyinApiUrls, douyinFetcher, douyinSign, douyinUtils, emitApiError, emitApiSuccess, emitHttpRequest, emitHttpResponse, emitLog, emitLogDebug, emitLogError, emitLogInfo, emitLogMark, emitLogWarn, emitNetworkError, emitNetworkRetry, fetchData, fetchResponse, getApiRoute, getBilibiliData, getDouyinData, getEnglishMethodName, getHeadersAndData, getKuaishouData, handleError, httpLogger, initLogger, isNetworkErrorResult, kuaishou, kuaishouApiUrls, kuaishouFetcher, kuaishouSign, kuaishouUtils, logMiddleware, logger, parseDmSegMobileReply, qtparam, toFetcherMethod, validateBilibiliParams, validateDouyinParams, validateKuaishouParams, validateXiaohongshuParams, wbi_sign, xiaohongshu, xiaohongshuApiUrls, xiaohongshuFetcher, xiaohongshuSign, xiaohongshuUtils };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { xt as reloadAmagiConfig } from "./main.js";
|
|
2
2
|
export { reloadAmagiConfig };
|