oc-browser-relay 1.0.19 → 1.0.20
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/bundled-relay/index.js +1 -1
- package/bundled-relay/public/configs/pages/alimama-account-report.json +4 -4
- package/bundled-relay/public/configs/sites/douyin-creator.json +1 -0
- package/bundled-relay/public/configs/task-templates/alimama-crowd-report-download.json +8 -18
- package/bundled-relay/public/configs/task-templates/alimama-keyword-report-download.json +8 -18
- package/bundled-relay/public/configs/task-templates/douyin-creator-publish.json +29 -3
- package/bundled-relay/public/configs/task-templates/douyin-creator-save-draft.json +14 -2
- package/index.js +33 -29
- package/package.json +1 -1
- package/skills/oc-browser-relay-alimama/SKILL.md +4 -1
- package/skills/oc-browser-relay-taobao/SKILL.md +81 -64
package/bundled-relay/index.js
CHANGED
|
@@ -26289,7 +26289,7 @@ function continueOrchestrator(taskId, completedNodeId, nextStepIndex) {
|
|
|
26289
26289
|
return;
|
|
26290
26290
|
}
|
|
26291
26291
|
advanceTaskOrchestrator(orch, nextStepIndex);
|
|
26292
|
-
console.log(`[Relay] \u8282\u70B9\u7D22\u5F15\u9012\u589E\u81F3: ${orch.currentStepIndex}`);
|
|
26292
|
+
console.log(`[Relay] \u8282\u70B9\u7D22\u5F15\u9012\u589E\u81F3: ${orch.currentStepIndex},${(/* @__PURE__ */ new Date()).toISOString()}`);
|
|
26293
26293
|
setTimeout(() => {
|
|
26294
26294
|
void sendNextStep(taskId);
|
|
26295
26295
|
}, STEP_DISPATCH_INTERVAL_MS);
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"havingList": [],
|
|
72
72
|
"isKeyWordNotContainChase": "true",
|
|
73
73
|
"offset": 0,
|
|
74
|
-
"pageSize":
|
|
74
|
+
"pageSize": 60,
|
|
75
75
|
"parentAdcName": "report_frame_bidword",
|
|
76
76
|
"queryDomains": [
|
|
77
77
|
"word",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"rptType": "bidword",
|
|
93
93
|
"searchKey": "strategyBidwordNameLike",
|
|
94
94
|
"source": "async_dowdload",
|
|
95
|
-
"splitType": "
|
|
95
|
+
"splitType": "{{payload.splitType}}",
|
|
96
96
|
"unifyType": "zhai"
|
|
97
97
|
},
|
|
98
98
|
"responsePath": "data.taskId",
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
},
|
|
111
111
|
"body": {
|
|
112
112
|
"excelName": "{{payload.excelName}}",
|
|
113
|
-
"pageSize":
|
|
113
|
+
"pageSize": 60,
|
|
114
114
|
"offset": 0,
|
|
115
115
|
"havingList": [],
|
|
116
116
|
"endTime": "{{payload.endTime}}",
|
|
@@ -121,7 +121,6 @@
|
|
|
121
121
|
"unifyType": "zhai",
|
|
122
122
|
"effectEqual": 15,
|
|
123
123
|
"startTime": "{{payload.startTime}}",
|
|
124
|
-
"splitType": "day",
|
|
125
124
|
"filterAppendSubwayChannel": true,
|
|
126
125
|
"filterNullCrowdSubwayTag": true,
|
|
127
126
|
"queryFieldIn": [
|
|
@@ -156,6 +155,7 @@
|
|
|
156
155
|
"byPage": false,
|
|
157
156
|
"fromRealTime": false,
|
|
158
157
|
"source": "async_dowdload",
|
|
158
|
+
"splitType": "{{payload.splitType}}",
|
|
159
159
|
"csrfId": "{{payload.csrfId}}",
|
|
160
160
|
"bizCode": "universalBP",
|
|
161
161
|
"loginPointId": "{{payload.loginPointId}}"
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
{ "kind": "xpath", "value": "//div[.//div[normalize-space(text())='发布视频'] and .//div[contains(normalize-space(.), '推荐mp4、webm')]]", "priority": 2 },
|
|
24
24
|
{ "kind": "css", "value": "a[href*='/content/upload']", "priority": 3 }
|
|
25
25
|
],
|
|
26
|
+
"preClickDelayMs": 5000,
|
|
26
27
|
"readyTimeoutMs": 8000
|
|
27
28
|
}
|
|
28
29
|
}
|
|
@@ -18,21 +18,10 @@
|
|
|
18
18
|
],
|
|
19
19
|
"optionalFields": [
|
|
20
20
|
{
|
|
21
|
-
"name": "
|
|
21
|
+
"name": "splitType",
|
|
22
22
|
"type": "string",
|
|
23
|
-
"description": "
|
|
24
|
-
|
|
25
|
-
{
|
|
26
|
-
"name": "vsType",
|
|
27
|
-
"type": "string",
|
|
28
|
-
"description": "对比维度,支持 week/month",
|
|
29
|
-
"default": "week"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"name": "searchValue",
|
|
33
|
-
"type": "string",
|
|
34
|
-
"description": "人群名称过滤,空字符串表示全部",
|
|
35
|
-
"default": ""
|
|
23
|
+
"description": "报表汇总维度,支持 sum/day/week/month/calendarmonth",
|
|
24
|
+
"default": "sum"
|
|
36
25
|
},
|
|
37
26
|
{
|
|
38
27
|
"name": "returnHostPatterns",
|
|
@@ -93,10 +82,11 @@
|
|
|
93
82
|
"payload": {
|
|
94
83
|
"startTime": "{{data.startTime}}",
|
|
95
84
|
"endTime": "{{data.endTime}}",
|
|
96
|
-
"vsTime": "{{data.
|
|
97
|
-
"vsType": "
|
|
98
|
-
"searchValue": "
|
|
99
|
-
"
|
|
85
|
+
"vsTime": "{{data.endTime}}",
|
|
86
|
+
"vsType": "week",
|
|
87
|
+
"searchValue": "",
|
|
88
|
+
"splitType": "{{data.splitType}}",
|
|
89
|
+
"excelName": "人群报表_{{data.startTime}}_{{data.endTime}}"
|
|
100
90
|
}
|
|
101
91
|
},
|
|
102
92
|
"fromContext": {
|
|
@@ -18,21 +18,10 @@
|
|
|
18
18
|
],
|
|
19
19
|
"optionalFields": [
|
|
20
20
|
{
|
|
21
|
-
"name": "
|
|
21
|
+
"name": "splitType",
|
|
22
22
|
"type": "string",
|
|
23
|
-
"description": "
|
|
24
|
-
|
|
25
|
-
{
|
|
26
|
-
"name": "vsType",
|
|
27
|
-
"type": "string",
|
|
28
|
-
"description": "对比维度,支持 week/month",
|
|
29
|
-
"default": "week"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"name": "searchValue",
|
|
33
|
-
"type": "string",
|
|
34
|
-
"description": "关键词过滤,空字符串表示全部",
|
|
35
|
-
"default": ""
|
|
23
|
+
"description": "报表汇总维度,支持 sum/day/week/month/calendarmonth",
|
|
24
|
+
"default": "sum"
|
|
36
25
|
},
|
|
37
26
|
{
|
|
38
27
|
"name": "returnHostPatterns",
|
|
@@ -93,10 +82,11 @@
|
|
|
93
82
|
"payload": {
|
|
94
83
|
"startTime": "{{data.startTime}}",
|
|
95
84
|
"endTime": "{{data.endTime}}",
|
|
96
|
-
"vsTime": "{{data.
|
|
97
|
-
"vsType": "
|
|
98
|
-
"searchValue": "
|
|
99
|
-
"
|
|
85
|
+
"vsTime": "{{data.endTime}}",
|
|
86
|
+
"vsType": "week",
|
|
87
|
+
"searchValue": "",
|
|
88
|
+
"splitType": "{{data.splitType}}",
|
|
89
|
+
"excelName": "关键词报表_{{data.startTime}}_{{data.endTime}}"
|
|
100
90
|
}
|
|
101
91
|
},
|
|
102
92
|
"fromContext": {
|
|
@@ -29,7 +29,18 @@
|
|
|
29
29
|
"nodeId": "ensure_publish_ready",
|
|
30
30
|
"name": "ensure_publish_ready",
|
|
31
31
|
"tool": "ensure_publish_ready",
|
|
32
|
-
"args": {
|
|
32
|
+
"args": {
|
|
33
|
+
"initialDelayMs": 5000
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"nodeId": "wait_page_ready",
|
|
38
|
+
"name": "wait_page_ready",
|
|
39
|
+
"tool": "wait",
|
|
40
|
+
"args": {
|
|
41
|
+
"delayMs": 5000,
|
|
42
|
+
"message": "等待发布页面完全加载"
|
|
43
|
+
}
|
|
33
44
|
},
|
|
34
45
|
{
|
|
35
46
|
"nodeId": "upload_video",
|
|
@@ -37,7 +48,8 @@
|
|
|
37
48
|
"tool": "upload_assets",
|
|
38
49
|
"args": {
|
|
39
50
|
"field": "video",
|
|
40
|
-
"assets": ["{{data.video}}"]
|
|
51
|
+
"assets": ["{{data.video}}"],
|
|
52
|
+
"timeoutMs": 300000
|
|
41
53
|
}
|
|
42
54
|
},
|
|
43
55
|
{
|
|
@@ -105,6 +117,20 @@
|
|
|
105
117
|
"message": "等待封面设置完成"
|
|
106
118
|
}
|
|
107
119
|
},
|
|
120
|
+
{
|
|
121
|
+
"nodeId": "wait_dialog_close",
|
|
122
|
+
"name": "wait_dialog_close",
|
|
123
|
+
"tool": "wait_for_condition",
|
|
124
|
+
"args": {
|
|
125
|
+
"condition": {
|
|
126
|
+
"type": "element_not_visible",
|
|
127
|
+
"selector": "[role='dialog']"
|
|
128
|
+
},
|
|
129
|
+
"timeoutMs": 60000,
|
|
130
|
+
"pollIntervalMs": 1000,
|
|
131
|
+
"message": "等待封面对话框关闭"
|
|
132
|
+
}
|
|
133
|
+
},
|
|
108
134
|
{
|
|
109
135
|
"nodeId": "submit_publish",
|
|
110
136
|
"name": "submit_publish",
|
|
@@ -138,4 +164,4 @@
|
|
|
138
164
|
"message": "视频描述正文不能超过1000字"
|
|
139
165
|
}
|
|
140
166
|
]
|
|
141
|
-
}
|
|
167
|
+
}
|
|
@@ -29,7 +29,18 @@
|
|
|
29
29
|
"nodeId": "ensure_publish_ready",
|
|
30
30
|
"name": "ensure_publish_ready",
|
|
31
31
|
"tool": "ensure_publish_ready",
|
|
32
|
-
"args": {
|
|
32
|
+
"args": {
|
|
33
|
+
"initialDelayMs": 5000
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"nodeId": "wait_page_ready",
|
|
38
|
+
"name": "wait_page_ready",
|
|
39
|
+
"tool": "wait",
|
|
40
|
+
"args": {
|
|
41
|
+
"delayMs": 5000,
|
|
42
|
+
"message": "等待发布页面完全加载"
|
|
43
|
+
}
|
|
33
44
|
},
|
|
34
45
|
{
|
|
35
46
|
"nodeId": "upload_video",
|
|
@@ -37,7 +48,8 @@
|
|
|
37
48
|
"tool": "upload_assets",
|
|
38
49
|
"args": {
|
|
39
50
|
"field": "video",
|
|
40
|
-
"assets": ["{{data.video}}"]
|
|
51
|
+
"assets": ["{{data.video}}"],
|
|
52
|
+
"timeoutMs": 600000
|
|
41
53
|
}
|
|
42
54
|
},
|
|
43
55
|
{
|