@ikenxuan/amagi 6.0.0-beta.0 → 6.0.0-beta.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/README.md +1 -1
- package/dist/default/index.cjs +223 -17
- package/dist/default/index.d.ts +5607 -2564
- package/dist/default/index.mjs +223 -18
- package/package.json +1 -1
package/dist/default/index.mjs
CHANGED
|
@@ -1138,9 +1138,20 @@ const DouyinCommentReplyParamsSchema = zod.object({
|
|
|
1138
1138
|
});
|
|
1139
1139
|
/** 用户参数验证 */
|
|
1140
1140
|
const DouyinUserParamsSchema = zod.object({
|
|
1141
|
-
methodType: zod.
|
|
1141
|
+
methodType: zod.literal("userProfile", { error: "方法类型必须是\"userProfile\"" }),
|
|
1142
1142
|
sec_uid: zod.string({ error: "用户ID必须是字符串" }).min(1, { error: "用户ID不能为空" })
|
|
1143
1143
|
});
|
|
1144
|
+
/** 用户列表参数验证(视频列表、喜欢列表、推荐列表) */
|
|
1145
|
+
const DouyinUserListParamsSchema = zod.object({
|
|
1146
|
+
methodType: zod.enum([
|
|
1147
|
+
"userVideoList",
|
|
1148
|
+
"userFavoriteList",
|
|
1149
|
+
"userRecommendList"
|
|
1150
|
+
], { error: "方法类型必须是指定的枚举值之一" }),
|
|
1151
|
+
sec_uid: zod.string({ error: "用户ID必须是字符串" }).min(1, { error: "用户ID不能为空" }),
|
|
1152
|
+
number: smartPositiveInteger("获取数量必须是正整数").optional().default(18),
|
|
1153
|
+
max_cursor: zod.string({ error: "游标必须是字符串" }).optional()
|
|
1154
|
+
});
|
|
1144
1155
|
/** 音乐参数验证 */
|
|
1145
1156
|
const DouyinMusicParamsSchema = zod.object({
|
|
1146
1157
|
methodType: zod.literal("musicInfo", { error: "方法类型必须是\"musicInfo\"" }),
|
|
@@ -1190,7 +1201,9 @@ const DouyinValidationSchemas = {
|
|
|
1190
1201
|
slidesWork: DouyinWorkParamsSchema,
|
|
1191
1202
|
comments: DouyinCommentParamsSchema,
|
|
1192
1203
|
userProfile: DouyinUserParamsSchema,
|
|
1193
|
-
userVideoList:
|
|
1204
|
+
userVideoList: DouyinUserListParamsSchema,
|
|
1205
|
+
userFavoriteList: DouyinUserListParamsSchema,
|
|
1206
|
+
userRecommendList: DouyinUserListParamsSchema,
|
|
1194
1207
|
suggestWords: DouyinHotWordsParamsSchema,
|
|
1195
1208
|
search: DouyinSearchParamsSchema,
|
|
1196
1209
|
musicInfo: DouyinMusicParamsSchema,
|
|
@@ -1212,6 +1225,8 @@ const DouyinMethodRoutes = {
|
|
|
1212
1225
|
commentReplies: "/fetch_video_comment_replies",
|
|
1213
1226
|
userProfile: "/fetch_user_info",
|
|
1214
1227
|
userVideoList: "/fetch_user_post_videos",
|
|
1228
|
+
userFavoriteList: "/fetch_user_favorite_list",
|
|
1229
|
+
userRecommendList: "/fetch_user_recommend_list",
|
|
1215
1230
|
search: "/fetch_search_info",
|
|
1216
1231
|
suggestWords: "/fetch_suggest_words",
|
|
1217
1232
|
musicInfo: "/fetch_music_work",
|
|
@@ -3437,14 +3452,14 @@ var DouyinAPI = class {
|
|
|
3437
3452
|
return `https://www.douyin.com/aweme/v1/web/aweme/post/?${buildQueryString({
|
|
3438
3453
|
...this.getBaseParams(),
|
|
3439
3454
|
sec_user_id: data$1.sec_uid,
|
|
3440
|
-
max_cursor: "0",
|
|
3455
|
+
max_cursor: data$1.max_cursor ?? "0",
|
|
3441
3456
|
locate_query: "false",
|
|
3442
3457
|
show_live_replay_strategy: "1",
|
|
3443
3458
|
need_time_list: "1",
|
|
3444
3459
|
time_list_query: "0",
|
|
3445
3460
|
whale_cut_token: "",
|
|
3446
3461
|
cut_version: "1",
|
|
3447
|
-
count:
|
|
3462
|
+
count: data$1.number ?? 18,
|
|
3448
3463
|
publish_video_strategy_type: "2",
|
|
3449
3464
|
version_code: "170400",
|
|
3450
3465
|
version_name: "17.4.0",
|
|
@@ -3454,6 +3469,72 @@ var DouyinAPI = class {
|
|
|
3454
3469
|
webid: "7338423850134226495"
|
|
3455
3470
|
})}`;
|
|
3456
3471
|
}
|
|
3472
|
+
/** 获取用户喜欢列表数据 */
|
|
3473
|
+
getUserFavoriteList(data$1) {
|
|
3474
|
+
return `https://www-hj.douyin.com/aweme/v1/web/aweme/favorite/?${buildQueryString({
|
|
3475
|
+
...this.getBaseParams(),
|
|
3476
|
+
sec_user_id: data$1.sec_uid,
|
|
3477
|
+
max_cursor: data$1.max_cursor ?? "0",
|
|
3478
|
+
min_cursor: "0",
|
|
3479
|
+
whale_cut_token: "",
|
|
3480
|
+
cut_version: "1",
|
|
3481
|
+
count: data$1.number ?? 18,
|
|
3482
|
+
publish_video_strategy_type: "2",
|
|
3483
|
+
update_version_code: "170400",
|
|
3484
|
+
pc_libra_divert: "Windows",
|
|
3485
|
+
support_h265: "1",
|
|
3486
|
+
support_dash: "1",
|
|
3487
|
+
version_code: "170400",
|
|
3488
|
+
version_name: "17.4.0",
|
|
3489
|
+
screen_width: "2328",
|
|
3490
|
+
screen_height: "1310",
|
|
3491
|
+
round_trip_time: "0",
|
|
3492
|
+
webid: "7487210762873685515"
|
|
3493
|
+
})}`;
|
|
3494
|
+
}
|
|
3495
|
+
/** 获取用户推荐列表数据 */
|
|
3496
|
+
getUserRecommendList(data$1) {
|
|
3497
|
+
return `https://www.douyin.com/aweme/v1/web/familiar/recommend/feed/?${buildQueryString({
|
|
3498
|
+
device_platform: "",
|
|
3499
|
+
aid: "6383",
|
|
3500
|
+
channel: "channel_pc_web",
|
|
3501
|
+
sec_user_id: data$1.sec_uid,
|
|
3502
|
+
max_cursor: data$1.max_cursor ?? "0",
|
|
3503
|
+
min_cursor: "0",
|
|
3504
|
+
whale_cut_token: "",
|
|
3505
|
+
count: data$1.number ?? 18,
|
|
3506
|
+
from: "1",
|
|
3507
|
+
update_version_code: "170400",
|
|
3508
|
+
pc_client_type: "1",
|
|
3509
|
+
pc_libra_divert: "Windows",
|
|
3510
|
+
support_h265: "1",
|
|
3511
|
+
support_dash: "1",
|
|
3512
|
+
cpu_core_num: "16",
|
|
3513
|
+
version_code: "170400",
|
|
3514
|
+
version_name: "17.4.0",
|
|
3515
|
+
cookie_enabled: "true",
|
|
3516
|
+
screen_width: "2328",
|
|
3517
|
+
screen_height: "1310",
|
|
3518
|
+
browser_language: "zh-CN",
|
|
3519
|
+
browser_platform: "Win32",
|
|
3520
|
+
browser_name: "Edge",
|
|
3521
|
+
browser_version: this.browserVersion,
|
|
3522
|
+
browser_online: "true",
|
|
3523
|
+
engine_name: "Blink",
|
|
3524
|
+
engine_version: this.browserVersion,
|
|
3525
|
+
os_name: "Windows",
|
|
3526
|
+
os_version: "10",
|
|
3527
|
+
device_memory: "8",
|
|
3528
|
+
platform: "PC",
|
|
3529
|
+
downlink: "10",
|
|
3530
|
+
effective_type: "4g",
|
|
3531
|
+
round_trip_time: "50",
|
|
3532
|
+
webid: "7487210762873685515",
|
|
3533
|
+
msToken: douyinSign.Mstoken(184),
|
|
3534
|
+
verifyFp: fp,
|
|
3535
|
+
fp
|
|
3536
|
+
})}`;
|
|
3537
|
+
}
|
|
3457
3538
|
/** 获取用户主页信息 */
|
|
3458
3539
|
getUserProfile(data$1) {
|
|
3459
3540
|
return `https://www.douyin.com/aweme/v1/web/user/profile/other/?${buildQueryString({
|
|
@@ -3872,17 +3953,93 @@ const DouyinData = async (data$1, cookie, requestConfig) => {
|
|
|
3872
3953
|
});
|
|
3873
3954
|
}
|
|
3874
3955
|
case "userVideoList": {
|
|
3875
|
-
const
|
|
3876
|
-
|
|
3877
|
-
|
|
3878
|
-
|
|
3879
|
-
|
|
3880
|
-
...
|
|
3881
|
-
|
|
3882
|
-
|
|
3883
|
-
|
|
3884
|
-
|
|
3885
|
-
|
|
3956
|
+
const urlGenerator = (params) => douyinApiUrls$1.getUserVideoList(params);
|
|
3957
|
+
return await fetchPaginatedData({
|
|
3958
|
+
type: data$1.methodType,
|
|
3959
|
+
apiUrlGenerator: urlGenerator,
|
|
3960
|
+
params: {
|
|
3961
|
+
...data$1,
|
|
3962
|
+
max_cursor: data$1.max_cursor
|
|
3963
|
+
},
|
|
3964
|
+
maxPageSize: 18,
|
|
3965
|
+
requestConfig: {
|
|
3966
|
+
...baseRequestConfig,
|
|
3967
|
+
headers: {
|
|
3968
|
+
...baseRequestConfig.headers,
|
|
3969
|
+
...(!requestConfig?.headers || !("Referer" in requestConfig.headers)) && { Referer: `https://www.douyin.com/user/${data$1.sec_uid}` }
|
|
3970
|
+
}
|
|
3971
|
+
},
|
|
3972
|
+
signType,
|
|
3973
|
+
extractList: (resp) => resp.aweme_list ?? [],
|
|
3974
|
+
updateParams: (params, resp) => ({
|
|
3975
|
+
...params,
|
|
3976
|
+
max_cursor: resp.max_cursor?.toString() ?? "0"
|
|
3977
|
+
}),
|
|
3978
|
+
hasMore: (resp) => resp.has_more === 1,
|
|
3979
|
+
formatFinalResponse: (resp, list) => ({
|
|
3980
|
+
...resp,
|
|
3981
|
+
aweme_list: list
|
|
3982
|
+
})
|
|
3983
|
+
});
|
|
3984
|
+
}
|
|
3985
|
+
case "userFavoriteList": {
|
|
3986
|
+
const urlGenerator = (params) => douyinApiUrls$1.getUserFavoriteList(params);
|
|
3987
|
+
return await fetchPaginatedData({
|
|
3988
|
+
type: data$1.methodType,
|
|
3989
|
+
apiUrlGenerator: urlGenerator,
|
|
3990
|
+
params: {
|
|
3991
|
+
...data$1,
|
|
3992
|
+
max_cursor: data$1.max_cursor
|
|
3993
|
+
},
|
|
3994
|
+
maxPageSize: 18,
|
|
3995
|
+
requestConfig: {
|
|
3996
|
+
...baseRequestConfig,
|
|
3997
|
+
headers: {
|
|
3998
|
+
...baseRequestConfig.headers,
|
|
3999
|
+
...(!requestConfig?.headers || !("Referer" in requestConfig.headers)) && { Referer: `https://www.douyin.com/user/${data$1.sec_uid}` }
|
|
4000
|
+
}
|
|
4001
|
+
},
|
|
4002
|
+
signType,
|
|
4003
|
+
extractList: (resp) => resp.aweme_list ?? [],
|
|
4004
|
+
updateParams: (params, resp) => ({
|
|
4005
|
+
...params,
|
|
4006
|
+
max_cursor: resp.max_cursor?.toString() ?? "0"
|
|
4007
|
+
}),
|
|
4008
|
+
hasMore: (resp) => resp.has_more === 1,
|
|
4009
|
+
formatFinalResponse: (resp, list) => ({
|
|
4010
|
+
...resp,
|
|
4011
|
+
aweme_list: list
|
|
4012
|
+
})
|
|
4013
|
+
});
|
|
4014
|
+
}
|
|
4015
|
+
case "userRecommendList": {
|
|
4016
|
+
const urlGenerator = (params) => douyinApiUrls$1.getUserRecommendList(params);
|
|
4017
|
+
return await fetchPaginatedData({
|
|
4018
|
+
type: data$1.methodType,
|
|
4019
|
+
apiUrlGenerator: urlGenerator,
|
|
4020
|
+
params: {
|
|
4021
|
+
...data$1,
|
|
4022
|
+
max_cursor: data$1.max_cursor
|
|
4023
|
+
},
|
|
4024
|
+
maxPageSize: 18,
|
|
4025
|
+
requestConfig: {
|
|
4026
|
+
...baseRequestConfig,
|
|
4027
|
+
headers: {
|
|
4028
|
+
...baseRequestConfig.headers,
|
|
4029
|
+
...(!requestConfig?.headers || !("Referer" in requestConfig.headers)) && { Referer: `https://www.douyin.com/user/${data$1.sec_uid}` }
|
|
4030
|
+
}
|
|
4031
|
+
},
|
|
4032
|
+
signType,
|
|
4033
|
+
extractList: (resp) => resp.aweme_list ?? [],
|
|
4034
|
+
updateParams: (params, resp) => ({
|
|
4035
|
+
...params,
|
|
4036
|
+
max_cursor: resp.max_cursor?.toString() ?? "0"
|
|
4037
|
+
}),
|
|
4038
|
+
hasMore: (resp) => resp.has_more === true,
|
|
4039
|
+
formatFinalResponse: (resp, list) => ({
|
|
4040
|
+
...resp,
|
|
4041
|
+
aweme_list: list
|
|
4042
|
+
})
|
|
3886
4043
|
});
|
|
3887
4044
|
}
|
|
3888
4045
|
case "suggestWords": {
|
|
@@ -4559,13 +4716,15 @@ async function fetchUserProfile$1(options, cookie, requestConfig) {
|
|
|
4559
4716
|
* 获取抖音用户视频列表数据
|
|
4560
4717
|
* @param options - 用户参数
|
|
4561
4718
|
* @param options.sec_uid - 用户安全 ID
|
|
4719
|
+
* @param options.number - 获取数量,默认 18
|
|
4562
4720
|
* @param cookie - 抖音 Cookie (可选)
|
|
4563
4721
|
* @param requestConfig - 请求配置 (可选)
|
|
4564
4722
|
* @returns 用户视频列表
|
|
4565
4723
|
* @example
|
|
4566
4724
|
* ```typescript
|
|
4567
|
-
* const result = await fetchUserVideoList({ sec_uid: 'MS4wLjABAAAA...' }, cookie)
|
|
4725
|
+
* const result = await fetchUserVideoList({ sec_uid: 'MS4wLjABAAAA...', number: 30 }, cookie)
|
|
4568
4726
|
* console.log(result.data.aweme_list) // 视频列表
|
|
4727
|
+
* console.log(result.data.max_cursor) // 下一页游标
|
|
4569
4728
|
* ```
|
|
4570
4729
|
*/
|
|
4571
4730
|
async function fetchUserVideoList(options, cookie, requestConfig) {
|
|
@@ -4574,6 +4733,48 @@ async function fetchUserVideoList(options, cookie, requestConfig) {
|
|
|
4574
4733
|
requestConfig
|
|
4575
4734
|
});
|
|
4576
4735
|
}
|
|
4736
|
+
/**
|
|
4737
|
+
* 获取抖音用户喜欢列表数据
|
|
4738
|
+
* @param options - 用户参数
|
|
4739
|
+
* @param options.sec_uid - 用户安全 ID
|
|
4740
|
+
* @param options.number - 获取数量,默认 18
|
|
4741
|
+
* @param cookie - 抖音 Cookie (可选)
|
|
4742
|
+
* @param requestConfig - 请求配置 (可选)
|
|
4743
|
+
* @returns 用户喜欢列表
|
|
4744
|
+
* @example
|
|
4745
|
+
* ```typescript
|
|
4746
|
+
* const result = await fetchUserFavoriteList({ sec_uid: 'MS4wLjABAAAA...', number: 30 }, cookie)
|
|
4747
|
+
* console.log(result.data.aweme_list) // 喜欢的视频列表
|
|
4748
|
+
* console.log(result.data.max_cursor) // 下一页游标
|
|
4749
|
+
* ```
|
|
4750
|
+
*/
|
|
4751
|
+
async function fetchUserFavoriteList(options, cookie, requestConfig) {
|
|
4752
|
+
return fetchDouyinInternal("userFavoriteList", options, {
|
|
4753
|
+
cookie,
|
|
4754
|
+
requestConfig
|
|
4755
|
+
});
|
|
4756
|
+
}
|
|
4757
|
+
/**
|
|
4758
|
+
* 获取抖音用户推荐列表数据
|
|
4759
|
+
* @param options - 用户参数
|
|
4760
|
+
* @param options.sec_uid - 用户安全 ID
|
|
4761
|
+
* @param options.number - 获取数量,默认 18
|
|
4762
|
+
* @param cookie - 抖音 Cookie (可选)
|
|
4763
|
+
* @param requestConfig - 请求配置 (可选)
|
|
4764
|
+
* @returns 用户推荐列表
|
|
4765
|
+
* @example
|
|
4766
|
+
* ```typescript
|
|
4767
|
+
* const result = await fetchUserRecommendList({ sec_uid: 'MS4wLjABAAAA...', number: 30 }, cookie)
|
|
4768
|
+
* console.log(result.data.aweme_list) // 推荐的视频列表
|
|
4769
|
+
* console.log(result.data.max_cursor) // 下一页游标
|
|
4770
|
+
* ```
|
|
4771
|
+
*/
|
|
4772
|
+
async function fetchUserRecommendList(options, cookie, requestConfig) {
|
|
4773
|
+
return fetchDouyinInternal("userRecommendList", options, {
|
|
4774
|
+
cookie,
|
|
4775
|
+
requestConfig
|
|
4776
|
+
});
|
|
4777
|
+
}
|
|
4577
4778
|
|
|
4578
4779
|
//#endregion
|
|
4579
4780
|
//#region src/model/fetchers/douyin/video.ts
|
|
@@ -4719,6 +4920,8 @@ function createBoundDouyinFetcher(cookie, requestConfig) {
|
|
|
4719
4920
|
fetchCommentReplies: (options, reqConfig) => fetchCommentReplies(options, cookie, reqConfig ?? requestConfig),
|
|
4720
4921
|
fetchUserProfile: (options, reqConfig) => fetchUserProfile$1(options, cookie, reqConfig ?? requestConfig),
|
|
4721
4922
|
fetchUserVideoList: (options, reqConfig) => fetchUserVideoList(options, cookie, reqConfig ?? requestConfig),
|
|
4923
|
+
fetchUserFavoriteList: (options, reqConfig) => fetchUserFavoriteList(options, cookie, reqConfig ?? requestConfig),
|
|
4924
|
+
fetchUserRecommendList: (options, reqConfig) => fetchUserRecommendList(options, cookie, reqConfig ?? requestConfig),
|
|
4722
4925
|
searchContent: (options, reqConfig) => searchContent(options, cookie, reqConfig ?? requestConfig),
|
|
4723
4926
|
fetchSuggestWords: (options, reqConfig) => fetchSuggestWords(options, cookie, reqConfig ?? requestConfig),
|
|
4724
4927
|
fetchMusicInfo: (options, reqConfig) => fetchMusicInfo(options, cookie, reqConfig ?? requestConfig),
|
|
@@ -4756,6 +4959,8 @@ const douyinFetcher = {
|
|
|
4756
4959
|
fetchCommentReplies,
|
|
4757
4960
|
fetchUserProfile: fetchUserProfile$1,
|
|
4758
4961
|
fetchUserVideoList,
|
|
4962
|
+
fetchUserFavoriteList,
|
|
4963
|
+
fetchUserRecommendList,
|
|
4759
4964
|
searchContent,
|
|
4760
4965
|
fetchSuggestWords,
|
|
4761
4966
|
fetchMusicInfo,
|
|
@@ -7795,7 +8000,7 @@ function getApiRoute(platform, methodType) {
|
|
|
7795
8000
|
* 构建后使用 __VERSION__,开发环境从 package.json 读取
|
|
7796
8001
|
*/
|
|
7797
8002
|
const getVersion = () => {
|
|
7798
|
-
return "6.0.0-
|
|
8003
|
+
return "6.0.0-beta.1";
|
|
7799
8004
|
};
|
|
7800
8005
|
const VERSION = getVersion();
|
|
7801
8006
|
/**
|
|
@@ -7844,5 +8049,5 @@ const Client = CreateApp;
|
|
|
7844
8049
|
const amagi = Client;
|
|
7845
8050
|
|
|
7846
8051
|
//#endregion
|
|
7847
|
-
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, DouyinUserParamsSchema, DouyinValidationSchemas, DouyinWorkParamsSchema, DynamicType, KuaishouApiRoutes, KuaishouCommentParamsSchema, KuaishouEmojiParamsSchema, KuaishouFetcherMethods, KuaishouInternalMethods, KuaishouMethodMapping, KuaishouMethodRoutes, KuaishouMethodToFetcher, 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, Client as default, 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, kuaishouUtils, logMiddleware, logger, parseDmSegMobileReply, qtparam, toFetcherMethod, validateBilibiliParams, validateDouyinParams, validateKuaishouParams, validateXiaohongshuParams, wbi_sign, xiaohongshu, xiaohongshuApiUrls, xiaohongshuFetcher, xiaohongshuSign, xiaohongshuUtils };
|
|
8052
|
+
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, KuaishouMethodMapping, KuaishouMethodRoutes, KuaishouMethodToFetcher, 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, Client as default, 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, kuaishouUtils, logMiddleware, logger, parseDmSegMobileReply, qtparam, toFetcherMethod, validateBilibiliParams, validateDouyinParams, validateKuaishouParams, validateXiaohongshuParams, wbi_sign, xiaohongshu, xiaohongshuApiUrls, xiaohongshuFetcher, xiaohongshuSign, xiaohongshuUtils };
|
|
7848
8053
|
//# sourceMappingURL=index.mjs.map
|