@iflyrpa/actions 4.0.6-beta.1 → 4.0.7
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/dist/bundle.js +178 -61
- package/dist/bundle.js.map +1 -1
- package/dist/index.js +178 -61
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +178 -61
- package/dist/index.mjs.map +1 -1
- package/dist/types.d.ts +2 -1
- package/dist/utils/http.d.ts +1 -1
- package/dist/utils/proxy.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="
|
|
2
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="65a9d1c4-06b7-5afb-8cd9-90bcb403fb1a")}catch(e){}}();
|
|
3
3
|
import * as __WEBPACK_EXTERNAL_MODULE_crypto__ from "crypto";
|
|
4
4
|
import * as __WEBPACK_EXTERNAL_MODULE_fs__ from "fs";
|
|
5
5
|
import * as __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_package_json_58ae5f06__ from "@iflyrpa/share/package.json";
|
|
@@ -4352,7 +4352,9 @@ function __webpack_require__(moduleId) {
|
|
|
4352
4352
|
return module;
|
|
4353
4353
|
};
|
|
4354
4354
|
})();
|
|
4355
|
-
var package_namespaceObject =
|
|
4355
|
+
var package_namespaceObject = {
|
|
4356
|
+
i8: "4.0.7"
|
|
4357
|
+
};
|
|
4356
4358
|
const PROXY_CREDENTIALS = [
|
|
4357
4359
|
{
|
|
4358
4360
|
ip: "47.110.131.129",
|
|
@@ -4439,14 +4441,15 @@ function buildProxyUrl(ip, port) {
|
|
|
4439
4441
|
}
|
|
4440
4442
|
return `socks5h://${ip}:${port}`;
|
|
4441
4443
|
}
|
|
4442
|
-
async function ProxyAgent(task,
|
|
4444
|
+
async function ProxyAgent(task, ip, adr, accountId, refresh) {
|
|
4443
4445
|
const http = new Http({
|
|
4444
4446
|
headers: {
|
|
4445
4447
|
"content-type": "application/json"
|
|
4446
4448
|
}
|
|
4447
4449
|
});
|
|
4448
4450
|
const params = {
|
|
4449
|
-
|
|
4451
|
+
ip: ip,
|
|
4452
|
+
addr: adr || null,
|
|
4450
4453
|
accountId: accountId
|
|
4451
4454
|
};
|
|
4452
4455
|
const ProxyInfo = await http.api({
|
|
@@ -4468,7 +4471,7 @@ async function ProxyAgent(task, addr, accountId, refresh) {
|
|
|
4468
4471
|
data: ProxyInfo.data
|
|
4469
4472
|
}
|
|
4470
4473
|
};
|
|
4471
|
-
task.logger?.info(`请求代理:区域:${params.addr}, AccountId:${params.accountId}, 返回代理信息: ${ProxyInfo.data ? `${ProxyInfo.data.proxyIp}:${ProxyInfo.data.proxyPort}` : "无可用代理"}`, loggerInfo);
|
|
4474
|
+
task.logger?.info(`请求代理:区域:${params.addr}, IP:${params.ip}, AccountId:${params.accountId}, 返回代理信息: ${ProxyInfo.data ? `${ProxyInfo.data.proxyIp}:${ProxyInfo.data.proxyPort}` : "无可用代理"}`, loggerInfo);
|
|
4472
4475
|
const proxyAgent = "000000" === ProxyInfo.code && ProxyInfo.data ? {
|
|
4473
4476
|
ip: ProxyInfo.data.proxyIp,
|
|
4474
4477
|
port: ProxyInfo.data.proxyPort,
|
|
@@ -4485,16 +4488,16 @@ class Http {
|
|
|
4485
4488
|
data: error
|
|
4486
4489
|
};
|
|
4487
4490
|
}
|
|
4488
|
-
constructor(config, logger,
|
|
4491
|
+
constructor(config, logger, adr, ip, accountId, platform){
|
|
4489
4492
|
this.agentPromise = void 0;
|
|
4490
4493
|
this.apiClient = __WEBPACK_EXTERNAL_MODULE_axios__["default"].create({
|
|
4491
4494
|
...config
|
|
4492
4495
|
});
|
|
4493
4496
|
this.logger = logger;
|
|
4494
4497
|
this.platform = platform;
|
|
4495
|
-
if (
|
|
4498
|
+
if (ip) this.agentPromise = ProxyAgent({
|
|
4496
4499
|
logger
|
|
4497
|
-
},
|
|
4500
|
+
}, ip, adr, accountId);
|
|
4498
4501
|
this.addResponseInterceptor(()=>void 0);
|
|
4499
4502
|
}
|
|
4500
4503
|
clearResponseInterceptors() {
|
|
@@ -8652,11 +8655,16 @@ const rpaServer = async (task, params)=>{
|
|
|
8652
8655
|
const updateTaskState = task.taskStageStore?.update?.bind(task.taskStageStore, task.taskId || "");
|
|
8653
8656
|
let executionState;
|
|
8654
8657
|
let proxyUrl;
|
|
8655
|
-
if (params.
|
|
8656
|
-
|
|
8658
|
+
if (params.localIP) {
|
|
8659
|
+
const args = [
|
|
8660
|
+
params.localIP,
|
|
8661
|
+
params.proxyLoc,
|
|
8662
|
+
params.accountId
|
|
8663
|
+
];
|
|
8664
|
+
task.logger?.info(`==> 开始获取代理信息:${args}`);
|
|
8657
8665
|
const ProxyAgentResult = await ProxyAgent({
|
|
8658
8666
|
logger: task.logger
|
|
8659
|
-
},
|
|
8667
|
+
}, ...args);
|
|
8660
8668
|
task.logger?.info("==> 代理信息获取成功!");
|
|
8661
8669
|
proxyUrl = ProxyAgentResult ? `http://${ProxyAgentResult.ip}:${ProxyAgentResult.port}` : void 0;
|
|
8662
8670
|
}
|
|
@@ -8999,6 +9007,7 @@ const mockAction = async (task, params)=>{
|
|
|
8999
9007
|
},
|
|
9000
9008
|
task.logger,
|
|
9001
9009
|
params.proxyLoc,
|
|
9010
|
+
params.localIP,
|
|
9002
9011
|
params.accountId,
|
|
9003
9012
|
"baijiahao"
|
|
9004
9013
|
];
|
|
@@ -9204,6 +9213,7 @@ const mockAction = async (task, params)=>{
|
|
|
9204
9213
|
enverionment: task.enverionment || "development",
|
|
9205
9214
|
postId: params.articleId,
|
|
9206
9215
|
eip: proxyHttp.proxyInfo,
|
|
9216
|
+
proxyIp: params.localIP,
|
|
9207
9217
|
accountId: params.accountId,
|
|
9208
9218
|
uid: params.uid,
|
|
9209
9219
|
platform: "baijiahao",
|
|
@@ -9722,6 +9732,7 @@ const XhsFansExport = async (_task, params)=>{
|
|
|
9722
9732
|
},
|
|
9723
9733
|
_task.logger,
|
|
9724
9734
|
params.proxyLoc,
|
|
9735
|
+
params.localIP,
|
|
9725
9736
|
params.accountId
|
|
9726
9737
|
];
|
|
9727
9738
|
const http = new Http(...args);
|
|
@@ -10851,7 +10862,7 @@ const XhsSessionCheck = async (_task, params)=>{
|
|
|
10851
10862
|
heapTotal: `${Math.round(process.memoryUsage().heapTotal / 1024 / 1024)} MB`
|
|
10852
10863
|
},
|
|
10853
10864
|
accountId: params.accountId,
|
|
10854
|
-
hasProxy: !!params.proxyLoc
|
|
10865
|
+
hasProxy: !!(params.proxyLoc || params.localIP)
|
|
10855
10866
|
});
|
|
10856
10867
|
}
|
|
10857
10868
|
const check = {
|
|
@@ -10874,6 +10885,7 @@ const XhsSessionCheck = async (_task, params)=>{
|
|
|
10874
10885
|
},
|
|
10875
10886
|
_task.logger,
|
|
10876
10887
|
params.proxyLoc,
|
|
10888
|
+
params.localIP,
|
|
10877
10889
|
params.accountId
|
|
10878
10890
|
];
|
|
10879
10891
|
const http = new Http(...args);
|
|
@@ -10904,7 +10916,7 @@ const XhsSessionCheck = async (_task, params)=>{
|
|
|
10904
10916
|
heapUsed: `${Math.round(process.memoryUsage().heapUsed / 1024 / 1024)} MB`,
|
|
10905
10917
|
heapTotal: `${Math.round(process.memoryUsage().heapTotal / 1024 / 1024)} MB`
|
|
10906
10918
|
},
|
|
10907
|
-
hasProxy: !!params.proxyLoc,
|
|
10919
|
+
hasProxy: !!(params.proxyLoc || params.localIP),
|
|
10908
10920
|
timeSinceLastLog: Date.now() - lastEnvLogTime
|
|
10909
10921
|
}
|
|
10910
10922
|
});
|
|
@@ -10945,9 +10957,14 @@ const XhsSessionCheck = async (_task, params)=>{
|
|
|
10945
10957
|
});
|
|
10946
10958
|
return e.data;
|
|
10947
10959
|
});
|
|
10960
|
+
const webSessionPath = "/api/sns/web/unread_count";
|
|
10961
|
+
const webSessionData = {};
|
|
10962
|
+
const webSessionXsHeader = sessionCheck_xsEncrypt.signHeadersPost(webSessionPath, recordCookie, "xhs-pc-web", webSessionData);
|
|
10948
10963
|
const _web_session = http.api({
|
|
10949
|
-
method: "
|
|
10950
|
-
url: "https://edith.xiaohongshu.com/api/sns/web/unread_count"
|
|
10964
|
+
method: "GET",
|
|
10965
|
+
url: "https://edith.xiaohongshu.com/api/sns/web/unread_count",
|
|
10966
|
+
data: webSessionData,
|
|
10967
|
+
headers: webSessionXsHeader
|
|
10951
10968
|
}, {
|
|
10952
10969
|
retries: 3,
|
|
10953
10970
|
retryDelay: 20,
|
|
@@ -11302,6 +11319,7 @@ const douyinCreateCommentReply = async (_task, params)=>{
|
|
|
11302
11319
|
},
|
|
11303
11320
|
_task.logger,
|
|
11304
11321
|
params.proxyLoc,
|
|
11322
|
+
params.localIP,
|
|
11305
11323
|
params.accountId
|
|
11306
11324
|
];
|
|
11307
11325
|
const http = new Http(...args);
|
|
@@ -11388,6 +11406,7 @@ const douyinGetCollection = async (_task, params)=>{
|
|
|
11388
11406
|
},
|
|
11389
11407
|
_task.logger,
|
|
11390
11408
|
params.proxyLoc,
|
|
11409
|
+
params.localIP,
|
|
11391
11410
|
params.accountId
|
|
11392
11411
|
];
|
|
11393
11412
|
const http = new Http(...args);
|
|
@@ -11478,6 +11497,7 @@ const douyinGetCommentList = async (_task, params)=>{
|
|
|
11478
11497
|
},
|
|
11479
11498
|
_task.logger,
|
|
11480
11499
|
params.proxyLoc,
|
|
11500
|
+
params.localIP,
|
|
11481
11501
|
params.accountId
|
|
11482
11502
|
];
|
|
11483
11503
|
const http = new Http(...args);
|
|
@@ -11563,6 +11583,7 @@ const douyinGetCommentReplyList = async (_task, params)=>{
|
|
|
11563
11583
|
},
|
|
11564
11584
|
_task.logger,
|
|
11565
11585
|
params.proxyLoc,
|
|
11586
|
+
params.localIP,
|
|
11566
11587
|
params.accountId
|
|
11567
11588
|
];
|
|
11568
11589
|
const http = new Http(...args);
|
|
@@ -11646,6 +11667,7 @@ const douyinGetHot = async (_task, params)=>{
|
|
|
11646
11667
|
},
|
|
11647
11668
|
_task.logger,
|
|
11648
11669
|
params.proxyLoc,
|
|
11670
|
+
params.localIP,
|
|
11649
11671
|
params.accountId
|
|
11650
11672
|
];
|
|
11651
11673
|
const http = new Http(...args);
|
|
@@ -11741,6 +11763,7 @@ const douyinGetLocation = async (_task, params)=>{
|
|
|
11741
11763
|
},
|
|
11742
11764
|
_task.logger,
|
|
11743
11765
|
params.proxyLoc,
|
|
11766
|
+
params.localIP,
|
|
11744
11767
|
params.accountId
|
|
11745
11768
|
];
|
|
11746
11769
|
const http = new Http(...args);
|
|
@@ -11839,6 +11862,7 @@ const douyinGetMusic = async (_task, params)=>{
|
|
|
11839
11862
|
},
|
|
11840
11863
|
_task.logger,
|
|
11841
11864
|
params.proxyLoc,
|
|
11865
|
+
params.localIP,
|
|
11842
11866
|
params.accountId
|
|
11843
11867
|
];
|
|
11844
11868
|
const http = new Http(...args);
|
|
@@ -11984,6 +12008,7 @@ const douyinGetMusicByCategory = async (_task, params)=>{
|
|
|
11984
12008
|
},
|
|
11985
12009
|
_task.logger,
|
|
11986
12010
|
params.proxyLoc,
|
|
12011
|
+
params.localIP,
|
|
11987
12012
|
params.accountId
|
|
11988
12013
|
];
|
|
11989
12014
|
const http = new Http(...args);
|
|
@@ -12071,6 +12096,7 @@ const douyinGetMusicCategory = async (_task, params)=>{
|
|
|
12071
12096
|
},
|
|
12072
12097
|
_task.logger,
|
|
12073
12098
|
params.proxyLoc,
|
|
12099
|
+
params.localIP,
|
|
12074
12100
|
params.accountId
|
|
12075
12101
|
];
|
|
12076
12102
|
const http = new Http(...args);
|
|
@@ -12158,6 +12184,7 @@ const douyinGetTopics = async (_task, params)=>{
|
|
|
12158
12184
|
},
|
|
12159
12185
|
_task.logger,
|
|
12160
12186
|
params.proxyLoc,
|
|
12187
|
+
params.localIP,
|
|
12161
12188
|
params.accountId
|
|
12162
12189
|
];
|
|
12163
12190
|
const http = new Http(...args);
|
|
@@ -12378,6 +12405,7 @@ const douyinGetWorkList = async (_task, params)=>{
|
|
|
12378
12405
|
},
|
|
12379
12406
|
_task.logger,
|
|
12380
12407
|
params.proxyLoc,
|
|
12408
|
+
params.localIP,
|
|
12381
12409
|
params.accountId
|
|
12382
12410
|
];
|
|
12383
12411
|
const http = new Http(...args);
|
|
@@ -12739,11 +12767,16 @@ const rpa_server_rpaServer = async (task, params)=>{
|
|
|
12739
12767
|
const updateTaskState = task.taskStageStore?.update?.bind(task.taskStageStore, task.taskId || "");
|
|
12740
12768
|
let executionState;
|
|
12741
12769
|
let proxyUrl;
|
|
12742
|
-
if (params.
|
|
12743
|
-
|
|
12770
|
+
if (params.localIP) {
|
|
12771
|
+
const args = [
|
|
12772
|
+
params.localIP,
|
|
12773
|
+
params.proxyLoc,
|
|
12774
|
+
params.accountId
|
|
12775
|
+
];
|
|
12776
|
+
task.logger?.info(`==> 开始获取代理信息:${args}`);
|
|
12744
12777
|
const ProxyAgentResult = await ProxyAgent({
|
|
12745
12778
|
logger: task.logger
|
|
12746
|
-
},
|
|
12779
|
+
}, ...args);
|
|
12747
12780
|
task.logger?.info("==> 代理信息获取成功!");
|
|
12748
12781
|
proxyUrl = ProxyAgentResult ? `http://${ProxyAgentResult.ip}:${ProxyAgentResult.port}` : void 0;
|
|
12749
12782
|
}
|
|
@@ -13352,7 +13385,7 @@ function safeSerialize(obj) {
|
|
|
13352
13385
|
}
|
|
13353
13386
|
const mock_mockAction = async (task, params)=>{
|
|
13354
13387
|
const updateTaskState = task.taskStageStore?.update?.bind(task.taskStageStore, task.taskId || "");
|
|
13355
|
-
if (!params.extraParam || !params.extraParam["security-sdk/s_sdk_sign_data_key/web_protect"] || !params.extraParam["security-sdk/s_sdk_server_cert_key"] || !params.extraParam["security-sdk/s_sdk_crypt_sdk"]) return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.response)(414, "extraParam 参数缺失或不完整", "");
|
|
13388
|
+
if (!params.extraParam || !params.extraParam["security-sdk/s_sdk_pri_key"] || !params.extraParam["security-sdk/s_sdk_pub_key"] || !params.extraParam["security-sdk/s_sdk_sign_data_key/web_protect"] || !params.extraParam["security-sdk/s_sdk_server_cert_key"] || !params.extraParam["security-sdk/s_sdk_crypt_sdk"]) return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.response)(414, "extraParam 参数缺失或不完整", "");
|
|
13356
13389
|
let currentStep = "初始化";
|
|
13357
13390
|
try {
|
|
13358
13391
|
currentStep = "验证账号信息";
|
|
@@ -13438,7 +13471,8 @@ const mock_mockAction = async (task, params)=>{
|
|
|
13438
13471
|
headers
|
|
13439
13472
|
},
|
|
13440
13473
|
task.logger,
|
|
13441
|
-
|
|
13474
|
+
"",
|
|
13475
|
+
"",
|
|
13442
13476
|
params.accountId,
|
|
13443
13477
|
"douyin"
|
|
13444
13478
|
];
|
|
@@ -13711,6 +13745,7 @@ const mock_mockAction = async (task, params)=>{
|
|
|
13711
13745
|
enverionment: task.enverionment || "development",
|
|
13712
13746
|
postId: params.articleId,
|
|
13713
13747
|
eip: proxyHttp.proxyInfo,
|
|
13748
|
+
proxyIp: params.localIP,
|
|
13714
13749
|
accountId: params.accountId,
|
|
13715
13750
|
uid: params.uid,
|
|
13716
13751
|
platform: "douyin",
|
|
@@ -14073,13 +14108,18 @@ const rpaAction_Server = async (task, params)=>{
|
|
|
14073
14108
|
return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.downloadImage)(url, __WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__["default"].join(tmpCachePath, fileName));
|
|
14074
14109
|
}));
|
|
14075
14110
|
let proxyUrl;
|
|
14076
|
-
if (params.
|
|
14077
|
-
|
|
14078
|
-
|
|
14111
|
+
if (params.localIP) {
|
|
14112
|
+
const args = [
|
|
14113
|
+
params.localIP,
|
|
14114
|
+
params.proxyLoc,
|
|
14115
|
+
params.accountId
|
|
14116
|
+
];
|
|
14117
|
+
task.logger?.info(`==> 开始获取代理信息:${args}`);
|
|
14118
|
+
const proxyAgentResult = await ProxyAgent({
|
|
14079
14119
|
logger: task.logger
|
|
14080
|
-
},
|
|
14120
|
+
}, ...args);
|
|
14081
14121
|
task.logger?.info("==> 代理信息获取成功!");
|
|
14082
|
-
proxyUrl =
|
|
14122
|
+
proxyUrl = proxyAgentResult ? `http://${proxyAgentResult.ip}:${proxyAgentResult.port}` : void 0;
|
|
14083
14123
|
}
|
|
14084
14124
|
const commonCookies = {
|
|
14085
14125
|
path: "/",
|
|
@@ -15036,6 +15076,7 @@ const getXhsCollection = async (_task, params)=>{
|
|
|
15036
15076
|
},
|
|
15037
15077
|
_task.logger,
|
|
15038
15078
|
params.proxyLoc,
|
|
15079
|
+
params.localIP,
|
|
15039
15080
|
params.accountId
|
|
15040
15081
|
];
|
|
15041
15082
|
const http = new Http(...args);
|
|
@@ -15093,6 +15134,7 @@ const getXhsGroup = async (_task, params)=>{
|
|
|
15093
15134
|
},
|
|
15094
15135
|
_task.logger,
|
|
15095
15136
|
params.proxyLoc,
|
|
15137
|
+
params.localIP,
|
|
15096
15138
|
params.accountId
|
|
15097
15139
|
];
|
|
15098
15140
|
const http = new Http(...args);
|
|
@@ -15139,6 +15181,7 @@ const getXhsHotTopic = async (_task, params)=>{
|
|
|
15139
15181
|
},
|
|
15140
15182
|
_task.logger,
|
|
15141
15183
|
params.proxyLoc,
|
|
15184
|
+
params.localIP,
|
|
15142
15185
|
params.accountId
|
|
15143
15186
|
];
|
|
15144
15187
|
const http = new Http(...args);
|
|
@@ -15175,6 +15218,7 @@ const getXhsHotTopic = async (_task, params)=>{
|
|
|
15175
15218
|
const data = isSuccess ? res.data.activity_list : [];
|
|
15176
15219
|
return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.response)(isSuccess ? 0 : 414, message, data);
|
|
15177
15220
|
};
|
|
15221
|
+
const getXhsWebUnreadCount_xsEncrypt = new Xhshow();
|
|
15178
15222
|
const UnreadCountSchema = schemas_object({
|
|
15179
15223
|
connections: schemas_number().nullable(),
|
|
15180
15224
|
mentions: schemas_number().nullable(),
|
|
@@ -15199,6 +15243,7 @@ const getXhsUnreadCount = async (_task, params)=>{
|
|
|
15199
15243
|
},
|
|
15200
15244
|
_task.logger,
|
|
15201
15245
|
params.proxyLoc,
|
|
15246
|
+
params.localIP,
|
|
15202
15247
|
params.accountId
|
|
15203
15248
|
];
|
|
15204
15249
|
const http = new Http(...args);
|
|
@@ -15208,9 +15253,24 @@ const getXhsUnreadCount = async (_task, params)=>{
|
|
|
15208
15253
|
unread_count: null,
|
|
15209
15254
|
likes: null
|
|
15210
15255
|
};
|
|
15256
|
+
const a1Cookie = params.cookies.find((it)=>"a1" === it.name)?.value;
|
|
15257
|
+
if (!a1Cookie) return {
|
|
15258
|
+
code: 414,
|
|
15259
|
+
message: "账号数据异常,请重新绑定账号后重试。",
|
|
15260
|
+
data: unreadCount
|
|
15261
|
+
};
|
|
15262
|
+
const apiPath = "/api/sns/web/unread_count";
|
|
15263
|
+
const recordCookie = params.cookies.reduce((acc, cookie)=>{
|
|
15264
|
+
if (cookie.name && cookie.value) acc[cookie.name] = cookie.value;
|
|
15265
|
+
return acc;
|
|
15266
|
+
}, {});
|
|
15267
|
+
const requestData = {};
|
|
15268
|
+
const xsHeader = getXhsWebUnreadCount_xsEncrypt.signHeadersPost(apiPath, recordCookie, "xhs-pc-web", requestData);
|
|
15211
15269
|
const res = await http.api({
|
|
15212
|
-
method: "
|
|
15213
|
-
url: "https://edith.xiaohongshu.com/api/sns/web/unread_count"
|
|
15270
|
+
method: "GET",
|
|
15271
|
+
url: "https://edith.xiaohongshu.com/api/sns/web/unread_count",
|
|
15272
|
+
data: requestData,
|
|
15273
|
+
headers: xsHeader
|
|
15214
15274
|
}, {
|
|
15215
15275
|
retries: 3,
|
|
15216
15276
|
retryDelay: 20,
|
|
@@ -15291,6 +15351,7 @@ async function getDouyinData(_task, params) {
|
|
|
15291
15351
|
},
|
|
15292
15352
|
_task.logger,
|
|
15293
15353
|
params.proxyLoc,
|
|
15354
|
+
params.localIP,
|
|
15294
15355
|
params.accountId
|
|
15295
15356
|
];
|
|
15296
15357
|
const http = new Http(...args);
|
|
@@ -15397,6 +15458,7 @@ async function getShipinhaoData(_task, params) {
|
|
|
15397
15458
|
},
|
|
15398
15459
|
_task.logger,
|
|
15399
15460
|
params.proxyLoc,
|
|
15461
|
+
params.localIP,
|
|
15400
15462
|
params.accountId
|
|
15401
15463
|
];
|
|
15402
15464
|
const http = new Http(...args);
|
|
@@ -15625,6 +15687,7 @@ async function getXiaohongshuData(_task, params) {
|
|
|
15625
15687
|
},
|
|
15626
15688
|
_task.logger,
|
|
15627
15689
|
params.proxyLoc,
|
|
15690
|
+
params.localIP,
|
|
15628
15691
|
params.accountId
|
|
15629
15692
|
];
|
|
15630
15693
|
const http = new Http(...args);
|
|
@@ -15957,6 +16020,7 @@ async function handleDouyinData(_task, params) {
|
|
|
15957
16020
|
},
|
|
15958
16021
|
_task.logger,
|
|
15959
16022
|
params.proxyLoc,
|
|
16023
|
+
params.localIP,
|
|
15960
16024
|
params.accountId
|
|
15961
16025
|
];
|
|
15962
16026
|
const http = new Http(...args);
|
|
@@ -16062,6 +16126,7 @@ async function handleShipinhaoData(_task, params) {
|
|
|
16062
16126
|
},
|
|
16063
16127
|
_task.logger,
|
|
16064
16128
|
params.proxyLoc,
|
|
16129
|
+
params.localIP,
|
|
16065
16130
|
params.accountId
|
|
16066
16131
|
];
|
|
16067
16132
|
const http = new Http(...args);
|
|
@@ -16524,6 +16589,7 @@ async function handleXiaohongshuData(_task, params) {
|
|
|
16524
16589
|
},
|
|
16525
16590
|
_task.logger,
|
|
16526
16591
|
params.proxyLoc,
|
|
16592
|
+
params.localIP,
|
|
16527
16593
|
params.accountId
|
|
16528
16594
|
];
|
|
16529
16595
|
const http = new Http(...args);
|
|
@@ -16854,6 +16920,7 @@ const searchXhsWebConnections = async (_task, params)=>{
|
|
|
16854
16920
|
},
|
|
16855
16921
|
_task.logger,
|
|
16856
16922
|
params.proxyLoc,
|
|
16923
|
+
params.localIP,
|
|
16857
16924
|
params.accountId
|
|
16858
16925
|
];
|
|
16859
16926
|
const http = new Http(...args);
|
|
@@ -16906,6 +16973,7 @@ const searchXhsWebLikes = async (_task, params)=>{
|
|
|
16906
16973
|
},
|
|
16907
16974
|
_task.logger,
|
|
16908
16975
|
params.proxyLoc,
|
|
16976
|
+
params.localIP,
|
|
16909
16977
|
params.accountId
|
|
16910
16978
|
];
|
|
16911
16979
|
const http = new Http(...args);
|
|
@@ -16958,6 +17026,7 @@ const searchXhsWebMentions = async (_task, params)=>{
|
|
|
16958
17026
|
},
|
|
16959
17027
|
_task.logger,
|
|
16960
17028
|
params.proxyLoc,
|
|
17029
|
+
params.localIP,
|
|
16961
17030
|
params.accountId
|
|
16962
17031
|
];
|
|
16963
17032
|
const http = new Http(...args);
|
|
@@ -17004,6 +17073,7 @@ const searchXiaohongshuLocation = async (_task, params)=>{
|
|
|
17004
17073
|
},
|
|
17005
17074
|
_task.logger,
|
|
17006
17075
|
params.proxyLoc,
|
|
17076
|
+
params.localIP,
|
|
17007
17077
|
params.accountId
|
|
17008
17078
|
];
|
|
17009
17079
|
const http = new Http(...args);
|
|
@@ -17042,6 +17112,7 @@ const searchXiaohongshuTopicList = async (_task, params)=>{
|
|
|
17042
17112
|
},
|
|
17043
17113
|
_task.logger,
|
|
17044
17114
|
params.proxyLoc,
|
|
17115
|
+
params.localIP,
|
|
17045
17116
|
params.accountId
|
|
17046
17117
|
];
|
|
17047
17118
|
const http = new Http(...args);
|
|
@@ -17103,6 +17174,7 @@ const searchXiaohongshuUserArticle = async (_task, params)=>{
|
|
|
17103
17174
|
},
|
|
17104
17175
|
_task.logger,
|
|
17105
17176
|
params.proxyLoc,
|
|
17177
|
+
params.localIP,
|
|
17106
17178
|
params.accountId
|
|
17107
17179
|
];
|
|
17108
17180
|
const http = new Http(...args);
|
|
@@ -17159,6 +17231,7 @@ const shipinhaoCheckLinkValidate = async (_task, params)=>{
|
|
|
17159
17231
|
},
|
|
17160
17232
|
_task.logger,
|
|
17161
17233
|
params.proxyLoc,
|
|
17234
|
+
params.localIP,
|
|
17162
17235
|
params.accountId
|
|
17163
17236
|
];
|
|
17164
17237
|
const http = new Http(...args);
|
|
@@ -17244,6 +17317,7 @@ const shipinhaoGetLocation = async (_task, params)=>{
|
|
|
17244
17317
|
},
|
|
17245
17318
|
_task.logger,
|
|
17246
17319
|
params.proxyLoc,
|
|
17320
|
+
params.localIP,
|
|
17247
17321
|
params.accountId
|
|
17248
17322
|
];
|
|
17249
17323
|
const http = new Http(...args);
|
|
@@ -17331,6 +17405,7 @@ const shipinhaoGetMsg = async (_task, params)=>{
|
|
|
17331
17405
|
},
|
|
17332
17406
|
_task.logger,
|
|
17333
17407
|
params.proxyLoc,
|
|
17408
|
+
params.localIP,
|
|
17334
17409
|
params.accountId
|
|
17335
17410
|
];
|
|
17336
17411
|
const http = new Http(...args);
|
|
@@ -17440,6 +17515,7 @@ const shipinhaoGetMsgImage = async (_task, params)=>{
|
|
|
17440
17515
|
},
|
|
17441
17516
|
_task.logger,
|
|
17442
17517
|
params.proxyLoc,
|
|
17518
|
+
params.localIP,
|
|
17443
17519
|
params.accountId
|
|
17444
17520
|
];
|
|
17445
17521
|
const http = new Http(...args);
|
|
@@ -17717,11 +17793,16 @@ const shipinhaoLogin_rpa_server_rpaServer = async (task, params)=>{
|
|
|
17717
17793
|
const updateTaskState = task.taskStageStore?.update?.bind(task.taskStageStore, task.taskId || "");
|
|
17718
17794
|
let executionState;
|
|
17719
17795
|
let proxyUrl;
|
|
17720
|
-
if (params.
|
|
17721
|
-
|
|
17796
|
+
if (params.localIP) {
|
|
17797
|
+
const args = [
|
|
17798
|
+
params.localIP,
|
|
17799
|
+
params.proxyLoc,
|
|
17800
|
+
params.accountId
|
|
17801
|
+
];
|
|
17802
|
+
task.logger?.info(`==> 开始获取代理信息:${args}`);
|
|
17722
17803
|
const ProxyAgentResult = await ProxyAgent({
|
|
17723
17804
|
logger: task.logger
|
|
17724
|
-
},
|
|
17805
|
+
}, ...args);
|
|
17725
17806
|
task.logger?.info("==> 代理信息获取成功!");
|
|
17726
17807
|
proxyUrl = ProxyAgentResult ? `http://${ProxyAgentResult.ip}:${ProxyAgentResult.port}` : void 0;
|
|
17727
17808
|
}
|
|
@@ -18548,6 +18629,7 @@ async function publishDynamic(cookies, uin, fingerPrintDeviceId, aId, proxyHttp,
|
|
|
18548
18629
|
enverionment: confParams.enverionment || "development",
|
|
18549
18630
|
postId: confParams.articleId,
|
|
18550
18631
|
eip: proxyHttp.proxyInfo,
|
|
18632
|
+
proxyIp: confParams.proxyIp,
|
|
18551
18633
|
accountId: confParams.accountId,
|
|
18552
18634
|
uid: confParams.uid,
|
|
18553
18635
|
publishParams: publishData,
|
|
@@ -18574,6 +18656,7 @@ const shipinhaoPublish_mock_mockAction = async (task, params)=>{
|
|
|
18574
18656
|
},
|
|
18575
18657
|
task.logger,
|
|
18576
18658
|
params.proxyLoc,
|
|
18659
|
+
params.localIP,
|
|
18577
18660
|
params.accountId,
|
|
18578
18661
|
"shipinhao"
|
|
18579
18662
|
];
|
|
@@ -18644,6 +18727,7 @@ const shipinhaoPublish_mock_mockAction = async (task, params)=>{
|
|
|
18644
18727
|
articleId: params.articleId,
|
|
18645
18728
|
postId: params.articleId,
|
|
18646
18729
|
eip: proxyHttp.proxyInfo,
|
|
18730
|
+
proxyIp: params.localIP,
|
|
18647
18731
|
accountId: params.accountId,
|
|
18648
18732
|
uid: params.uid
|
|
18649
18733
|
}, {
|
|
@@ -19030,11 +19114,16 @@ const rpa_server_rpaAction_Server = async (task, params)=>{
|
|
|
19030
19114
|
return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.downloadImage)(url, __WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__["default"].join(tmpCachePath, fileName));
|
|
19031
19115
|
}));
|
|
19032
19116
|
let proxyUrl;
|
|
19033
|
-
if (params.
|
|
19034
|
-
|
|
19117
|
+
if (params.localIP) {
|
|
19118
|
+
const args = [
|
|
19119
|
+
params.localIP,
|
|
19120
|
+
params.proxyLoc,
|
|
19121
|
+
params.accountId
|
|
19122
|
+
];
|
|
19123
|
+
task.logger?.info(`==> 开始获取代理信息:${args}`);
|
|
19035
19124
|
const ProxyAgentResult = await ProxyAgent({
|
|
19036
19125
|
logger: task.logger
|
|
19037
|
-
},
|
|
19126
|
+
}, ...args);
|
|
19038
19127
|
task.logger?.info("==> 代理信息获取成功!");
|
|
19039
19128
|
proxyUrl = ProxyAgentResult ? `http://${ProxyAgentResult.ip}:${ProxyAgentResult.port}` : void 0;
|
|
19040
19129
|
}
|
|
@@ -19684,11 +19773,16 @@ const toutiaoLogin_rpa_server_rpaServer = async (task, params)=>{
|
|
|
19684
19773
|
const updateTaskState = task.taskStageStore?.update?.bind(task.taskStageStore, task.taskId || "");
|
|
19685
19774
|
let executionState;
|
|
19686
19775
|
let proxyUrl;
|
|
19687
|
-
if (params.
|
|
19688
|
-
|
|
19776
|
+
if (params.localIP) {
|
|
19777
|
+
const args = [
|
|
19778
|
+
params.localIP,
|
|
19779
|
+
params.proxyLoc,
|
|
19780
|
+
params.accountId
|
|
19781
|
+
];
|
|
19782
|
+
task.logger?.info(`==> 开始获取代理信息:${args}`);
|
|
19689
19783
|
const ProxyAgentResult = await ProxyAgent({
|
|
19690
19784
|
logger: task.logger
|
|
19691
|
-
},
|
|
19785
|
+
}, ...args);
|
|
19692
19786
|
task.logger?.info("==> 代理信息获取成功!");
|
|
19693
19787
|
proxyUrl = ProxyAgentResult ? `http://${ProxyAgentResult.ip}:${ProxyAgentResult.port}` : void 0;
|
|
19694
19788
|
}
|
|
@@ -19939,6 +20033,7 @@ const toutiaoPublish_mock_mockAction = async (task, params)=>{
|
|
|
19939
20033
|
},
|
|
19940
20034
|
task.logger,
|
|
19941
20035
|
params.proxyLoc,
|
|
20036
|
+
params.localIP,
|
|
19942
20037
|
params.accountId,
|
|
19943
20038
|
"toutiao"
|
|
19944
20039
|
];
|
|
@@ -20136,6 +20231,7 @@ const toutiaoPublish_mock_mockAction = async (task, params)=>{
|
|
|
20136
20231
|
enverionment: task.enverionment || "development",
|
|
20137
20232
|
postId: params.articleId,
|
|
20138
20233
|
eip: proxyHttp.proxyInfo,
|
|
20234
|
+
proxyIp: params.localIP,
|
|
20139
20235
|
accountId: params.accountId,
|
|
20140
20236
|
uid: params.uid,
|
|
20141
20237
|
platform: "toutiao",
|
|
@@ -20770,11 +20866,16 @@ const weixinLogin_rpa_server_rpaServer = async (task, params)=>{
|
|
|
20770
20866
|
const updateTaskState = task.taskStageStore?.update?.bind(task.taskStageStore, task.taskId || "");
|
|
20771
20867
|
let executionState;
|
|
20772
20868
|
let proxyUrl;
|
|
20773
|
-
if (params.
|
|
20774
|
-
|
|
20869
|
+
if (params.localIP) {
|
|
20870
|
+
const args = [
|
|
20871
|
+
params.localIP,
|
|
20872
|
+
params.proxyLoc,
|
|
20873
|
+
params.accountId
|
|
20874
|
+
];
|
|
20875
|
+
task.logger?.info(`==> 开始获取代理信息:${args}`);
|
|
20775
20876
|
const ProxyAgentResult = await ProxyAgent({
|
|
20776
20877
|
logger: task.logger
|
|
20777
|
-
},
|
|
20878
|
+
}, ...args);
|
|
20778
20879
|
task.logger?.info("==> 代理信息获取成功!");
|
|
20779
20880
|
proxyUrl = ProxyAgentResult ? `http://${ProxyAgentResult.ip}:${ProxyAgentResult.port}` : void 0;
|
|
20780
20881
|
}
|
|
@@ -21266,6 +21367,7 @@ const weixinPublish_mock_mockAction = async (task, params)=>{
|
|
|
21266
21367
|
},
|
|
21267
21368
|
task.logger,
|
|
21268
21369
|
params.proxyLoc,
|
|
21370
|
+
params.localIP,
|
|
21269
21371
|
params.accountId,
|
|
21270
21372
|
"weixin"
|
|
21271
21373
|
];
|
|
@@ -22044,6 +22146,7 @@ const weixinPublish_mock_mockAction = async (task, params)=>{
|
|
|
22044
22146
|
enverionment: task.enverionment || "development",
|
|
22045
22147
|
postId: params.articleId,
|
|
22046
22148
|
eip: proxyHttp.proxyInfo,
|
|
22149
|
+
proxyIp: params.localIP,
|
|
22047
22150
|
accountId: params.accountId,
|
|
22048
22151
|
uid: params.uid,
|
|
22049
22152
|
platform: "weixin",
|
|
@@ -22848,11 +22951,16 @@ const xiaohongshuLogin_rpa_server_rpaServer = async (task, params)=>{
|
|
|
22848
22951
|
const reporter = task.reportService?.reportLoginStatus ?? (()=>Promise.resolve());
|
|
22849
22952
|
let executionState;
|
|
22850
22953
|
let proxyUrl;
|
|
22851
|
-
if (params.
|
|
22852
|
-
|
|
22954
|
+
if (params.localIP) {
|
|
22955
|
+
const args = [
|
|
22956
|
+
params.localIP,
|
|
22957
|
+
params.proxyLoc,
|
|
22958
|
+
params.accountId
|
|
22959
|
+
];
|
|
22960
|
+
task.logger?.info(`==> 开始获取代理信息:${args}`);
|
|
22853
22961
|
const ProxyAgentResult = await ProxyAgent({
|
|
22854
22962
|
logger: task.logger
|
|
22855
|
-
},
|
|
22963
|
+
}, ...args);
|
|
22856
22964
|
task.logger?.info("==> 代理信息获取成功!");
|
|
22857
22965
|
proxyUrl = ProxyAgentResult ? `http://${ProxyAgentResult.ip}:${ProxyAgentResult.port}` : void 0;
|
|
22858
22966
|
}
|
|
@@ -23169,6 +23277,7 @@ const xiaohongshuPublish_mock_mockAction = async (task, params)=>{
|
|
|
23169
23277
|
},
|
|
23170
23278
|
task.logger,
|
|
23171
23279
|
params.proxyLoc,
|
|
23280
|
+
params.localIP,
|
|
23172
23281
|
params.accountId,
|
|
23173
23282
|
"xiaohongshu"
|
|
23174
23283
|
];
|
|
@@ -23209,8 +23318,8 @@ const xiaohongshuPublish_mock_mockAction = async (task, params)=>{
|
|
|
23209
23318
|
params: fetchCoverParams
|
|
23210
23319
|
}, {
|
|
23211
23320
|
retries: 3,
|
|
23212
|
-
retryDelay:
|
|
23213
|
-
timeout:
|
|
23321
|
+
retryDelay: 20,
|
|
23322
|
+
timeout: 3000
|
|
23214
23323
|
});
|
|
23215
23324
|
for (const item of batchCoverIdInfo?.data?.uploadTempPermits ?? [])for (const fileId of item.fileIds)uploadInfos.push({
|
|
23216
23325
|
bucket: item.bucket || "",
|
|
@@ -23229,8 +23338,8 @@ const xiaohongshuPublish_mock_mockAction = async (task, params)=>{
|
|
|
23229
23338
|
params: fetchCoverParams
|
|
23230
23339
|
}, {
|
|
23231
23340
|
retries: 3,
|
|
23232
|
-
retryDelay:
|
|
23233
|
-
timeout:
|
|
23341
|
+
retryDelay: 20,
|
|
23342
|
+
timeout: 3000
|
|
23234
23343
|
});
|
|
23235
23344
|
for (const item of coverIdInfo?.data?.uploadTempPermits ?? [])for (const fileId of item.fileIds)uploadInfos.push({
|
|
23236
23345
|
bucket: item.bucket || "",
|
|
@@ -23291,9 +23400,7 @@ const xiaohongshuPublish_mock_mockAction = async (task, params)=>{
|
|
|
23291
23400
|
headers: {
|
|
23292
23401
|
"x-cos-security-token": ossToken
|
|
23293
23402
|
},
|
|
23294
|
-
defaultErrorMsg: "
|
|
23295
|
-
}, {
|
|
23296
|
-
timeout: 60000
|
|
23403
|
+
defaultErrorMsg: "图片上传异常,请稍后重试发布。"
|
|
23297
23404
|
});
|
|
23298
23405
|
return {
|
|
23299
23406
|
ossFileId,
|
|
@@ -23303,8 +23410,6 @@ const xiaohongshuPublish_mock_mockAction = async (task, params)=>{
|
|
|
23303
23410
|
originSize
|
|
23304
23411
|
};
|
|
23305
23412
|
} catch (error) {
|
|
23306
|
-
const e = Http.handleApiError(error);
|
|
23307
|
-
task.logger.warn(`[xhs upload] 第${attempt + 1}次失败 index=${index} bucket=${ossBucketIndex} domain=${ossDomain} fileId=${ossFileId} code=${e.code} msg=${e.message} data=${stringifyError(e.data)}`);
|
|
23308
23413
|
attempt++;
|
|
23309
23414
|
}
|
|
23310
23415
|
}
|
|
@@ -23538,6 +23643,7 @@ const xiaohongshuPublish_mock_mockAction = async (task, params)=>{
|
|
|
23538
23643
|
enverionment: task.enverionment || "development",
|
|
23539
23644
|
postId: params.articleId,
|
|
23540
23645
|
eip: proxyHttp.proxyInfo,
|
|
23646
|
+
proxyIp: params.localIP,
|
|
23541
23647
|
accountId: params.accountId,
|
|
23542
23648
|
uid: params.uid,
|
|
23543
23649
|
platform: "xiaohongshu",
|
|
@@ -23799,11 +23905,16 @@ const xiaohongshuPublish_rpa_server_rpaAction_Server = async (task, params)=>{
|
|
|
23799
23905
|
return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.downloadImage)(url, __WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__["default"].join(tmpCachePath, fileName));
|
|
23800
23906
|
}));
|
|
23801
23907
|
let proxyUrl;
|
|
23802
|
-
if (params.
|
|
23803
|
-
|
|
23908
|
+
if (params.localIP) {
|
|
23909
|
+
const args = [
|
|
23910
|
+
params.localIP,
|
|
23911
|
+
params.proxyLoc,
|
|
23912
|
+
params.accountId
|
|
23913
|
+
];
|
|
23914
|
+
task.logger?.info(`==> 开始获取代理信息:${args}`);
|
|
23804
23915
|
const ProxyAgentResult = await ProxyAgent({
|
|
23805
23916
|
logger: task.logger
|
|
23806
|
-
},
|
|
23917
|
+
}, ...args);
|
|
23807
23918
|
task.logger?.info("==> 代理信息获取成功!");
|
|
23808
23919
|
proxyUrl = ProxyAgentResult ? `http://${ProxyAgentResult.ip}:${ProxyAgentResult.port}` : void 0;
|
|
23809
23920
|
}
|
|
@@ -24232,6 +24343,7 @@ const rpaAction_Server_Mock = async (task, params)=>{
|
|
|
24232
24343
|
},
|
|
24233
24344
|
task.logger,
|
|
24234
24345
|
params.proxyLoc,
|
|
24346
|
+
params.localIP,
|
|
24235
24347
|
params.accountId,
|
|
24236
24348
|
"xiaohongshu-rpa"
|
|
24237
24349
|
];
|
|
@@ -24277,8 +24389,8 @@ const rpaAction_Server_Mock = async (task, params)=>{
|
|
|
24277
24389
|
params: fetchCoverParams
|
|
24278
24390
|
}, {
|
|
24279
24391
|
retries: 3,
|
|
24280
|
-
retryDelay:
|
|
24281
|
-
timeout:
|
|
24392
|
+
retryDelay: 20,
|
|
24393
|
+
timeout: 3000
|
|
24282
24394
|
});
|
|
24283
24395
|
for (const item of batchCoverIdInfo?.data?.uploadTempPermits ?? [])for (const fileId of item?.fileIds ?? [])uploadInfos.push({
|
|
24284
24396
|
bucket: item.bucket || "",
|
|
@@ -24297,8 +24409,8 @@ const rpaAction_Server_Mock = async (task, params)=>{
|
|
|
24297
24409
|
params: fetchCoverParams
|
|
24298
24410
|
}, {
|
|
24299
24411
|
retries: 3,
|
|
24300
|
-
retryDelay:
|
|
24301
|
-
timeout:
|
|
24412
|
+
retryDelay: 20,
|
|
24413
|
+
timeout: 3000
|
|
24302
24414
|
});
|
|
24303
24415
|
for (const item of coverIdInfo?.data?.uploadTempPermits ?? [])for (const fileId of item?.fileIds ?? [])uploadInfos.push({
|
|
24304
24416
|
bucket: item.bucket || "",
|
|
@@ -24343,8 +24455,6 @@ const rpaAction_Server_Mock = async (task, params)=>{
|
|
|
24343
24455
|
"x-cos-security-token": ossToken
|
|
24344
24456
|
},
|
|
24345
24457
|
defaultErrorMsg: "图片上传异常,请稍后重试发布。"
|
|
24346
|
-
}, {
|
|
24347
|
-
timeout: 60000
|
|
24348
24458
|
});
|
|
24349
24459
|
return {
|
|
24350
24460
|
ossFileId,
|
|
@@ -24654,6 +24764,7 @@ const xiaohongshuWebCommentAction = async (_task, params)=>{
|
|
|
24654
24764
|
},
|
|
24655
24765
|
_task.logger,
|
|
24656
24766
|
params.proxyLoc,
|
|
24767
|
+
params.localIP,
|
|
24657
24768
|
params.accountId
|
|
24658
24769
|
];
|
|
24659
24770
|
const http = new Http(...args);
|
|
@@ -24739,6 +24850,7 @@ const xiaohongshuWebIntimacySearch = async (_task, params)=>{
|
|
|
24739
24850
|
},
|
|
24740
24851
|
_task.logger,
|
|
24741
24852
|
params.proxyLoc,
|
|
24853
|
+
params.localIP,
|
|
24742
24854
|
params.accountId
|
|
24743
24855
|
];
|
|
24744
24856
|
const http = new Http(...args);
|
|
@@ -24777,6 +24889,7 @@ const xiaohongshuWebMsgRead = async (_task, params)=>{
|
|
|
24777
24889
|
},
|
|
24778
24890
|
_task.logger,
|
|
24779
24891
|
params.proxyLoc,
|
|
24892
|
+
params.localIP,
|
|
24780
24893
|
params.accountId
|
|
24781
24894
|
];
|
|
24782
24895
|
const http = new Http(...args);
|
|
@@ -24829,6 +24942,7 @@ const xiaohongshuWebMsgReply = async (_task, params)=>{
|
|
|
24829
24942
|
},
|
|
24830
24943
|
_task.logger,
|
|
24831
24944
|
params.proxyLoc,
|
|
24945
|
+
params.localIP,
|
|
24832
24946
|
params.accountId
|
|
24833
24947
|
];
|
|
24834
24948
|
const http = new Http(...args);
|
|
@@ -24885,6 +24999,7 @@ const xiaohongshuWebNoteFeed = async (_task, params)=>{
|
|
|
24885
24999
|
},
|
|
24886
25000
|
_task.logger,
|
|
24887
25001
|
params.proxyLoc,
|
|
25002
|
+
params.localIP,
|
|
24888
25003
|
params.accountId
|
|
24889
25004
|
];
|
|
24890
25005
|
const http = new Http(...args);
|
|
@@ -24957,6 +25072,7 @@ const xiaohongshuWebRelationAction = async (_task, params)=>{
|
|
|
24957
25072
|
},
|
|
24958
25073
|
_task.logger,
|
|
24959
25074
|
params.proxyLoc,
|
|
25075
|
+
params.localIP,
|
|
24960
25076
|
params.accountId
|
|
24961
25077
|
];
|
|
24962
25078
|
const http = new Http(...args);
|
|
@@ -25060,6 +25176,7 @@ const xiaohongshuWebSearch = async (_task, params)=>{
|
|
|
25060
25176
|
},
|
|
25061
25177
|
_task.logger,
|
|
25062
25178
|
params.proxyLoc,
|
|
25179
|
+
params.localIP,
|
|
25063
25180
|
params.accountId
|
|
25064
25181
|
];
|
|
25065
25182
|
const http = new Http(...args);
|
|
@@ -25495,4 +25612,4 @@ var __webpack_exports__version = package_namespaceObject.i8;
|
|
|
25495
25612
|
export { Action, ActionCommonParamsSchema, BaijiahaoPublishParamsSchema, BetaFlag, CollectionDetailSchema, ConfigDataSchema, DouyinCheckVerifyQrCodeParamsSchema, DouyinCreateCommentReplyParamsSchema, DouyinGetCollectionParamsSchema, DouyinGetCommentListParamsSchema, DouyinGetCommentReplyListParamsSchema, DouyinGetHotParamsSchema, DouyinGetLocationParamsSchema, DouyinGetMusicByCategoryParamsSchema, DouyinGetMusicCategoryParamsSchema, DouyinGetMusicParamsSchema, DouyinGetTopicsParamsSchema, DouyinGetVerifyQrCodeParamsSchema, DouyinGetWorkListParamsSchema, DouyinPublishParamsSchema, FetchArticlesDataSchema, FetchArticlesParamsSchema, Http, ProxyAgent, SearchAccountInfoParamsSchema, SessionCheckResultSchema, ShipinhaoCheckLinkValidateParamsSchema, ShipinhaoGetLocationParamsSchema, ShipinhaoGetMsgParamsSchema, ShipinhaoPublishParamsSchema, ShipinhaoSendMsgParamsSchema, ToutiaoPublishParamsSchema, UnreadCountSchema, WeixinPublishParamsSchema, WxBjhSessionParamsSchema, XhsWebSearchParamsSchema, XiaohongshuPublishParamsSchema, bjhConfigDataSchema, douyinConfigDataSchema, getFileState, reportLogger, rpaAction_Server_Mock, shipinhaoConfigDataSchema, ttConfigDataSchema, wxConfigDataSchema, xhsConfigDataSchema, __webpack_exports__version as version };
|
|
25496
25613
|
|
|
25497
25614
|
//# sourceMappingURL=index.mjs.map
|
|
25498
|
-
//# debugId=
|
|
25615
|
+
//# debugId=65a9d1c4-06b7-5afb-8cd9-90bcb403fb1a
|