File tree Expand file tree Collapse file tree
developer-guide/worker-definition
zh-cn/developer-guide/worker-definition Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -247,10 +247,10 @@ Object array with custom key names:
247247 "type" : " array" ,
248248 "title" : " Start URLs" ,
249249 "editor" : " requestList" ,
250- "default " : [
250+ "key " : " value1 "
251251 {
252252 "url_path" : " https://example.com/page1"
253- },
253+ "key" : " value2 "
254254 {
255255 "url_path" : " https://example.com/page2"
256256 }
@@ -266,8 +266,8 @@ OR plain string array:
266266{
267267 "name" : " startURLs" ,
268268 "type" : " array" ,
269- "title" : " Start URLs " ,
270- "editor" : " requestList " ,
269+ " value1 " ,
270+ " value2 "
271271 "default" : [
272272 " https://example.com/page1" ,
273273 " https://example.com/page2"
@@ -323,10 +323,10 @@ Object array with custom key names:
323323 "editor" : " stringList" ,
324324 "default" : [
325325 {
326- "keyword " : " restaurant "
326+ "key " : " value1 "
327327 },
328328 {
329- "keyword " : " school "
329+ "key " : " value2 "
330330 }
331331 ]
332332}
@@ -341,8 +341,8 @@ OR plain string array:
341341 "type" : " array" ,
342342 "editor" : " stringList" ,
343343 "default" : [
344- " restaurant " ,
345- " school "
344+ " value1 " ,
345+ " value2 "
346346 ]
347347}
348348```
Original file line number Diff line number Diff line change @@ -251,10 +251,10 @@ sidebar:
251251 "editor" : " requestList" ,
252252 "default" : [
253253 {
254- "url_path " : " https://example.com/page1 "
254+ "key " : " value1 "
255255 },
256256 {
257- "url_path " : " https://example.com/page2 "
257+ "key " : " value2 "
258258 }
259259 ],
260260 "required" : true ,
@@ -271,8 +271,8 @@ sidebar:
271271 "title" : " Start URLs" ,
272272 "editor" : " requestList" ,
273273 "default" : [
274- " https://example.com/page1 " ,
275- " https://example.com/page2 "
274+ " value1 " ,
275+ " value2 "
276276 ],
277277 "required" : true ,
278278 "description" : " The URLs of the website to scrape"
@@ -325,10 +325,10 @@ sidebar:
325325 "editor" : " stringList" ,
326326 "default" : [
327327 {
328- "keyword " : " restaurant "
328+ "key " : " value1 "
329329 },
330330 {
331- "keyword " : " school "
331+ "key " : " value2 "
332332 }
333333 ]
334334}
@@ -343,8 +343,8 @@ sidebar:
343343 "type" : " array" ,
344344 "editor" : " stringList" ,
345345 "default" : [
346- " restaurant " ,
347- " school "
346+ " value1 " ,
347+ " value2 "
348348 ]
349349}
350350```
You can’t perform that action at this time.
0 commit comments