-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathauto-update-pt-cookies-in-iyuuplus.json
More file actions
869 lines (869 loc) · 26.5 KB
/
Copy pathauto-update-pt-cookies-in-iyuuplus.json
File metadata and controls
869 lines (869 loc) · 26.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
{
"extVersion": "1.28.27",
"name": "更新IYUUPLUS中的PT站COOKIE",
"icon": "riGlobalLine",
"table": [],
"version": "1.28.27",
"drawflow": {
"edges": [
{
"data": {},
"events": {},
"id": "vueflow__edge-6ntvx656ntvx65-output-1-p1yrg7mp1yrg7m-input-1",
"markerEnd": "arrowclosed",
"selectable": true,
"source": "oMHUIdhXna6Ia5gpk1HPj",
"sourceHandle": "oMHUIdhXna6Ia5gpk1HPj-output-1",
"sourceX": 304.1781613637436,
"sourceY": 133.23943361026198,
"target": "julii94",
"targetHandle": "julii94-input-1",
"targetX": 370.3809573190383,
"targetY": 134.88763384739187,
"type": "custom",
"updatable": true
},
{
"data": {},
"events": {},
"id": "vueflow__edge-p1yrg7mp1yrg7m-output-1-4cakrup4cakrup-input-1",
"markerEnd": "arrowclosed",
"selectable": true,
"source": "p1yrg7m",
"sourceHandle": "p1yrg7m-output-1",
"sourceX": 306.4718961901373,
"sourceY": 290.69359838462753,
"target": "4cakrup",
"targetHandle": "4cakrup-input-1",
"targetX": 379.3932186591502,
"targetY": 290.60413724468276,
"type": "custom",
"updatable": true
},
{
"data": {},
"events": {},
"id": "vueflow__edge-4cakrup4cakrup-output-1-wcjgh0ewcjgh0e-input-1",
"markerEnd": "arrowclosed",
"selectable": true,
"source": "4cakrup",
"sourceHandle": "4cakrup-output-1",
"sourceX": 611.3624569404002,
"sourceY": 290.60413724468276,
"target": "wcjgh0e",
"targetHandle": "wcjgh0e-input-1",
"targetX": 690.586598200215,
"targetY": 304.18051977385676,
"type": "custom",
"updatable": true
},
{
"data": {},
"events": {},
"id": "vueflow__edge-wcjgh0ewcjgh0e-output-1-nn3sn0znn3sn0z-input-1",
"markerEnd": "arrowclosed",
"selectable": true,
"source": "wcjgh0e",
"sourceHandle": "wcjgh0e-output-1",
"sourceX": 922.555836481465,
"sourceY": 304.18051977385676,
"target": "nn3sn0z",
"targetHandle": "nn3sn0z-input-1",
"targetX": 992.5566889773313,
"targetY": 289.13172213458887,
"type": "custom",
"updatable": true
},
{
"data": {},
"events": {},
"id": "vueflow__edge-nn3sn0znn3sn0z-output-1-9zvw1g69zvw1g6-input-1",
"markerEnd": "arrowclosed",
"selectable": true,
"source": "nn3sn0z",
"sourceHandle": "nn3sn0z-output-1",
"sourceX": 1224.5259272585813,
"sourceY": 289.13172213458887,
"target": "9zvw1g6",
"targetHandle": "9zvw1g6-input-1",
"targetX": 70.38110918422478,
"targetY": 534.9618396108374,
"type": "custom",
"updatable": true
},
{
"data": {},
"events": {},
"id": "vueflow__edge-9zvw1g69zvw1g6-output-1-3i8lh8f3i8lh8f-input-1",
"markerEnd": "arrowclosed",
"selectable": true,
"source": "9zvw1g6",
"sourceHandle": "9zvw1g6-output-1",
"sourceX": 302.3503474654748,
"sourceY": 534.9618396108374,
"target": "ri4pzfm",
"targetHandle": "ri4pzfm-input-1",
"targetX": 366.27776903363133,
"targetY": 536.0109515714852,
"type": "custom",
"updatable": true
},
{
"class": "connected-edges",
"data": {},
"events": {},
"id": "vueflow__edge-kygxow7kygxow7-output-fallback-y7hg2aby7hg2ab-input-1",
"markerEnd": "arrowclosed",
"selectable": true,
"source": "kygxow7",
"sourceHandle": "kygxow7-output-fallback",
"sourceX": 929.1770199451043,
"sourceY": 513.7120792615726,
"target": "y7hg2ab",
"targetHandle": "y7hg2ab-input-1",
"targetX": 959.3817650115766,
"targetY": 537.8785771782436,
"type": "custom",
"updatable": true
},
{
"class": "connected-edges",
"data": {},
"events": {},
"id": "vueflow__edge-y7hg2aby7hg2ab-output-fallback-314qug2314qug2-input-1",
"markerEnd": "arrowclosed",
"selectable": true,
"source": "y7hg2ab",
"sourceHandle": "y7hg2ab-output-fallback",
"sourceX": 1255.3529564178266,
"sourceY": 604.2873906548061,
"target": "314qug2",
"targetHandle": "314qug2-input-1",
"targetX": 63.58796252524667,
"targetY": 744.9676613848537,
"type": "custom",
"updatable": true
},
{
"data": {},
"events": {},
"id": "vueflow__edge-ri4pzfmri4pzfm-output-YEOFV6Njmiupiz2qK031z-kygxow7kygxow7-input-1",
"markerEnd": "arrowclosed",
"selectable": true,
"source": "ri4pzfm",
"sourceHandle": "ri4pzfm-output-YEOFV6Njmiupiz2qK031z",
"sourceX": 663.2597026273813,
"sourceY": 560.4219623136727,
"target": "kygxow7",
"targetHandle": "kygxow7-input-1",
"targetX": 697.2076595935418,
"targetY": 491.69736978891643,
"type": "custom",
"updatable": true
},
{
"data": {},
"events": {},
"id": "vueflow__edge-ri4pzfmri4pzfm-output-fallback-z0v83cbz0v83cb-input-1",
"markerEnd": "arrowclosed",
"selectable": true,
"source": "ri4pzfm",
"sourceHandle": "ri4pzfm-output-fallback",
"sourceX": 662.2490825101938,
"sourceY": 602.4197650480477,
"target": "z0v83cb",
"targetHandle": "z0v83cb-input-1",
"targetX": 707.7490161964832,
"targetY": 596.4423911041912,
"type": "custom",
"updatable": true
},
{
"data": {},
"events": {},
"id": "vueflow__edge-julii94julii94-output-1-zbueps4zbueps4-input-1",
"markerEnd": "arrowclosed",
"selectable": true,
"source": "julii94",
"sourceHandle": "julii94-output-1",
"sourceX": 602.3502566354446,
"sourceY": 134.88763384739187,
"target": "6ntvx65",
"targetHandle": "6ntvx65-input-1",
"targetX": 683.3246600811299,
"targetY": 133.54889958741967,
"type": "custom",
"updatable": true
},
{
"data": {},
"events": {},
"id": "vueflow__edge-ds255hsds255hs-output-1-p1yrg7mp1yrg7m-input-1",
"markerEnd": "arrowclosed",
"selectable": true,
"source": "ds255hs",
"sourceHandle": "ds255hs-output-1",
"sourceX": 1222.9945678710938,
"sourceY": 133.57089672771963,
"target": "p1yrg7m",
"targetHandle": "p1yrg7m-input-1",
"targetX": 74.50265790888727,
"targetY": 290.69359838462753,
"type": "custom",
"updatable": true
},
{
"data": {},
"events": {},
"id": "vueflow__edge-314qug2314qug2-output-1-5j50flg5j50flg-input-1",
"markerEnd": "arrowclosed",
"selectable": true,
"source": "314qug2",
"sourceHandle": "314qug2-output-1",
"sourceX": 295.55720080649667,
"sourceY": 744.9676613848537,
"target": "6i2hlka",
"targetHandle": "6i2hlka-input-1",
"targetX": 381.9492517074425,
"targetY": 817.6849507650757,
"type": "custom",
"updatable": true
},
{
"data": {},
"events": {},
"id": "vueflow__edge-6ntvx656ntvx65-output-1-ds255hsds255hs-input-1",
"markerEnd": "arrowclosed",
"selectable": true,
"source": "6ntvx65",
"sourceHandle": "6ntvx65-output-1",
"sourceX": 915.2938983623799,
"sourceY": 133.54889958741967,
"target": "ds255hs",
"targetHandle": "ds255hs-input-1",
"targetX": 991.0253295898438,
"targetY": 133.57089672771963,
"type": "custom",
"updatable": true
},
{
"data": {},
"events": {},
"id": "vueflow__edge-6i2hlka6i2hlka-output-1-5j50flg5j50flg-input-1",
"markerEnd": "arrowclosed",
"selectable": true,
"source": "6i2hlka",
"sourceHandle": "6i2hlka-output-1",
"sourceX": 613.9184899886925,
"sourceY": 817.6849507650757,
"target": "5j50flg",
"targetHandle": "5j50flg-input-1",
"targetX": 709.4247844103793,
"targetY": 818.302417379546,
"type": "custom",
"updatable": true
},
{
"data": {},
"events": {},
"id": "vueflow__edge-z0v83cbz0v83cb-output-1-6i2hlka6i2hlka-input-1",
"markerEnd": "arrowclosed",
"selectable": true,
"source": "z0v83cb",
"sourceHandle": "z0v83cb-output-1",
"sourceX": 939.7182544777332,
"sourceY": 596.4423911041912,
"target": "6i2hlka",
"targetHandle": "6i2hlka-input-1",
"targetX": 381.9492517074425,
"targetY": 817.6849507650757,
"type": "custom",
"updatable": true
},
{
"data": {},
"events": {},
"id": "vueflow__edge-kygxow7kygxow7-output-1-6i2hlka6i2hlka-input-1",
"markerEnd": "arrowclosed",
"selectable": true,
"source": "kygxow7",
"sourceHandle": "kygxow7-output-1",
"sourceX": 929.1770199451043,
"sourceY": 491.69736978891643,
"target": "6i2hlka",
"targetHandle": "6i2hlka-input-1",
"targetX": 381.9492517074425,
"targetY": 817.6849507650757,
"type": "custom",
"updatable": true
},
{
"class": "connected-edges",
"data": {},
"events": {},
"id": "vueflow__edge-y7hg2aby7hg2ab-output-82gyB9AKIdFCnen5hSEL_-6i2hlka6i2hlka-input-1",
"markerEnd": "arrowclosed",
"selectable": true,
"source": "y7hg2ab",
"sourceHandle": "y7hg2ab-output-82gyB9AKIdFCnen5hSEL_",
"sourceX": 1256.363576535014,
"sourceY": 562.2895879204311,
"target": "6i2hlka",
"targetHandle": "6i2hlka-input-1",
"targetX": 381.9492517074425,
"targetY": 817.6849507650757,
"type": "custom",
"updatable": true
}
],
"nodes": [
{
"data": {
"activeInInput": false,
"contextMenuName": "",
"contextTypes": [],
"date": "",
"days": [],
"delay": 5,
"description": "",
"disableBlock": false,
"interval": 60,
"isUrlRegex": false,
"observeElement": {
"baseElOptions": {
"attributeFilter": [],
"attributes": false,
"characterData": false,
"childList": true,
"subtree": false
},
"baseSelector": "",
"matchPattern": "",
"selector": "",
"targetOptions": {
"attributeFilter": [],
"attributes": false,
"characterData": false,
"childList": true,
"subtree": false
}
},
"parameters": [],
"preferParamsInTab": false,
"shortcut": "",
"time": "00:00",
"triggers": [
{
"data": {
"activeInInput": false,
"contextMenuName": "",
"contextTypes": [],
"date": "",
"days": [],
"delay": 5,
"description": "",
"disableBlock": false,
"interval": 60,
"isUrlRegex": false,
"observeElement": {
"baseElOptions": {
"attributeFilter": [],
"attributes": false,
"characterData": false,
"childList": true,
"subtree": false
},
"baseSelector": "",
"matchPattern": "",
"selector": "",
"targetOptions": {
"attributeFilter": [],
"attributes": false,
"characterData": false,
"childList": true,
"subtree": false
}
},
"parameters": [],
"preferParamsInTab": false,
"shortcut": "",
"time": "00:00",
"type": "manual",
"url": ""
},
"id": "Ja8ov",
"type": "manual"
},
{
"data": null,
"id": "tePvm",
"type": "on-startup"
}
],
"type": "manual",
"url": ""
},
"events": {},
"id": "oMHUIdhXna6Ia5gpk1HPj",
"label": "trigger",
"position": {
"x": 92.19198582663421,
"y": 97.2600177167073
},
"type": "BlockBasic"
},
{
"data": {
"description": "启动2级循环,即当前站点的Cookie的全部字段,每个站点的Cookie的字段数量不一样。",
"disableBlock": false,
"elementSelector": "",
"fromNumber": 1,
"loopData": "[]",
"loopId": "nUsAXX",
"loopThrough": "variable",
"maxLoop": 0,
"referenceKey": "",
"resumeLastWorkflow": false,
"reverseLoop": false,
"startIndex": 0,
"toNumber": 10,
"variableName": "cookie",
"waitForSelector": false,
"waitSelectorTimeout": 5000
},
"events": {},
"id": "p1yrg7m",
"label": "loop-data",
"position": {
"x": 94.4857206530279,
"y": 252.70336400962756
},
"type": "BlockBasic"
},
{
"data": {
"$breakpoint": false,
"deleteList": [
{
"columnId": "[all]",
"type": "table",
"variableName": ""
},
{
"columnId": "[all]",
"type": "variable",
"variableName": "cookie"
}
],
"description": "清空记录",
"disableBlock": false
},
"events": {},
"id": "6ntvx65",
"label": "delete-data",
"position": {
"x": 703.3076923076924,
"y": 97.5486401880056
},
"type": "BlockBasic"
},
{
"data": {
"dataList": [
{
"action": "default",
"filePath": "",
"isFile": false,
"name": "yOX_M",
"type": "table",
"value": "{{variables.cookie.[loopData.nUsAXX.$index].name}}={{variables.cookie.[loopData.nUsAXX.$index].value}}"
}
],
"description": "将每个cookie字段写入表中",
"disableBlock": false
},
"events": {},
"id": "4cakrup",
"label": "insert-data",
"position": {
"x": 399.3762508857127,
"y": 254.60389310405776
},
"type": "BlockBasic"
},
{
"data": {
"clearLoop": false,
"disableBlock": false,
"loopId": "nUsAXX",
"settings": {
"blockTimeout": 0,
"debugMode": false
}
},
"events": {},
"id": "wcjgh0e",
"label": "loop-breakpoint",
"position": {
"x": 710.5696304267775,
"y": 228.7975546859661
},
"type": "BlockLoopBreakpoint"
},
{
"data": {
"dataList": [
{
"action": "default",
"filePath": "",
"isFile": false,
"name": "yOX_M",
"type": "table",
"value": "!!{{$filter([table], \"$..content\")}}"
}
],
"description": "将Cookie全部字段组合成一个字符串,并写入表的最后一行。",
"disableBlock": false
},
"events": {},
"id": "nn3sn0z",
"label": "insert-data",
"position": {
"x": 1012.5397212038938,
"y": 253.13147799396387
},
"type": "BlockBasic"
},
{
"data": {
"dataList": [
{
"action": "default",
"filePath": "",
"isFile": false,
"name": "yOX_M",
"type": "table",
"value": "{{ $replaceAll( [table.$last.content], \",\", \"; \") }}"
}
],
"description": "将前一步组合而成的字符串中的逗号替换为分号加空格,这才是可以后续可以使用的Cookie的形式。",
"disableBlock": false
},
"events": {},
"id": "9zvw1g6",
"label": "insert-data",
"position": {
"x": 90.36417192836541,
"y": 498.9615954702124
},
"type": "BlockBasic"
},
{
"data": {
"assignVariable": true,
"body": "{\n \"id\": \"{{ variables.$$sites.[loopData.Atxo9S.$index].id }}\",\n \"cookie\": \"{{ table.$last.content }}\"\n}",
"contentType": "json",
"dataColumn": "",
"dataPath": "msg",
"description": "如果已经登陆则向iyuuplus更新cookie",
"disableBlock": false,
"headers": [],
"method": "POST",
"responseType": "json",
"saveData": false,
"timeout": 10000,
"url": "{{ variables.$$iyuuplus_url }}/admin/site/update",
"variableName": "result"
},
"events": {},
"id": "kygxow7",
"label": "webhook",
"position": {
"x": 717.1908138904168,
"y": 443.6947452771977
},
"type": "BlockBasicWithFallback"
},
{
"data": {
"conditions": [
{
"conditions": [
{
"conditions": [
{
"id": "0Ru9JgFKiB3Jmd4LKZHnT",
"items": [
{
"category": "value",
"data": {
"value": "{{ variables.result }}"
},
"id": "FpzSvlgIOOUTkUU50_xg9",
"type": "value"
},
{
"category": "compare",
"id": "j07d077SZL9AK4UGrgtBd",
"type": "eq"
},
{
"category": "value",
"data": {
"value": "ok"
},
"id": "h3wS9a474Il8Wo7ksRt-T",
"type": "value"
}
]
}
],
"id": "5RVZx1l0IyOhJDRWztWD6"
}
],
"id": "82gyB9AKIdFCnen5hSEL_",
"name": "如果是ok"
}
],
"description": "判断iyuuplus返回消息中的msg字段是否是ok,如果是ok表示提交成功,但成功时在本工作流中不发送通知,只在失败时才发送通知。成功时会等待500毫秒,然后才进入下一次循环。",
"disableBlock": false,
"retryConditions": false,
"retryCount": 10,
"retryTimeout": 1000
},
"events": {},
"id": "y7hg2ab",
"label": "conditions",
"position": {
"x": 979.3647972381391,
"y": 445.48187918019676
},
"type": "BlockConditions"
},
{
"data": {
"description": "如果向iyuuplus提交Cookie不成功",
"disableBlock": false,
"iconUrl": "{{ variables.$$sites.[loopData.Atxo9S.$index].url }}/favicon.ico",
"imageUrl": "",
"message": "向iyuuplus更新{{ variables.$$sites.[loopData.Atxo9S.$index].site }}的Cookie失败,请检查是否你已在本浏览器中成功登陆iyuuplus管理后台。",
"title": "{{ variables.$$sites.[loopData.Atxo9S.$index].site }}更新cookie失败"
},
"events": {},
"id": "314qug2",
"label": "notification",
"position": {
"x": 83.57102526938729,
"y": 708.9674172442287
},
"type": "BlockBasic"
},
{
"data": {
"conditions": [
{
"conditions": [
{
"conditions": [
{
"id": "q_mNVVVtmP3LYOKPNOqFh",
"items": [
{
"category": "value",
"data": {
"value": "{{ table.$last.content }}"
},
"id": "-zhzSDZlb6mxVzuct7hZj",
"type": "value"
},
{
"category": "compare",
"id": "Ke3Pp5FtubAlUBBkOSXWN",
"type": "cnt"
},
{
"category": "value",
"data": {
"value": "{{ variables.$$sites.[loopData.Atxo9S.$index].key_content }}"
},
"id": "3nLx2oPU_qv2WK3SkSVot",
"type": "value"
}
]
}
],
"id": "B--5oPDlCw4koMCsHD6Rn"
}
],
"id": "YEOFV6Njmiupiz2qK031z",
"name": "如果包含了设置的关键字段"
}
],
"description": "检查前一步组合而成的字符串中是否含有在$$sites全局变量中设置的key_content,来判断是否已成功登陆。注意,这种判断并不完全准确,仅供参考。",
"disableBlock": false,
"retryConditions": false,
"retryCount": 10,
"retryTimeout": 1000
},
"events": {},
"id": "ri4pzfm",
"label": "conditions",
"position": {
"x": 386.26080126019383,
"y": 443.61428409101643
},
"type": "BlockConditions"
},
{
"data": {
"description": "如果没有登陆则向操作系统发送通知",
"disableBlock": false,
"iconUrl": "{{ variables.$$sites.[loopData.Atxo9S.$index].url }}/favicon.ico",
"imageUrl": "",
"message": "{{ variables.$$sites.[loopData.Atxo9S.$index].site }}还没有登陆,无法获取到Cookie,请先登陆。",
"title": "{{ variables.$$sites.[loopData.Atxo9S.$index].site }}还没有登陆"
},
"events": {},
"id": "z0v83cb",
"label": "notification",
"position": {
"x": 727.7320484230457,
"y": 560.4421469635662
},
"type": "BlockBasic"
},
{
"data": {
"description": "启动1级循环,即全局变量$$sites总共的站点数量。",
"disableBlock": false,
"elementSelector": "",
"fromNumber": 1,
"loopData": "[]",
"loopId": "Atxo9S",
"loopThrough": "variable",
"maxLoop": 0,
"referenceKey": "0",
"resumeLastWorkflow": false,
"reverseLoop": false,
"startIndex": 0,
"toNumber": 10,
"variableName": "$$sites",
"waitForSelector": false,
"waitSelectorTimeout": 5000
},
"events": {},
"id": "julii94",
"label": "loop-data",
"position": {
"x": 390.36405058075707,
"y": 96.89739947239187
},
"type": "BlockBasic"
},
{
"data": {
"$breakpoint": false,
"clearLoop": false,
"disableBlock": false,
"loopId": "Atxo9S",
"onError": {
"dataToInsert": [],
"enable": false,
"insertData": false,
"retry": false,
"retryInterval": 2,
"retryTimes": 1,
"toDo": "error"
},
"settings": {
"blockTimeout": 0,
"debugMode": false
}
},
"events": {},
"id": "5j50flg",
"label": "loop-breakpoint",
"position": {
"x": 729.4079387072543,
"y": 742.9194828092335
},
"type": "BlockLoopBreakpoint"
},
{
"data": {
"assignVariable": true,
"dataColumn": "yOX_M",
"description": "获取Cookie",
"disableBlock": false,
"domain": "",
"expirationDate": "",
"getAll": true,
"httpOnly": false,
"jsonCode": "{\n\n}",
"name": "",
"path": "",
"sameSite": "",
"saveData": false,
"secure": false,
"session": false,
"type": "get",
"url": "{{ variables.$$sites.[loopData.Atxo9S.$index].url }}",
"useJson": false,
"value": "",
"variableName": "cookie"
},
"events": {},
"id": "ds255hs",
"label": "cookie",
"position": {
"x": 1011.0083618164062,
"y": 97.57063732830557
},
"type": "BlockBasic"
},
{
"data": {
"disableBlock": false,
"time": "500"
},
"events": {},
"id": "6i2hlka",
"label": "delay",
"position": {
"x": 401.932283934005,
"y": 759.2948750814819
},
"type": "BlockDelay"
}
],
"position": [
-27.130257999787318,
-21.31591001824279
],
"viewport": {
"x": -27.130257999787318,
"y": -21.31591001824279,
"zoom": 1.0442210246296615
},
"zoom": 1.0442210246296615
},
"settings": {
"blockDelay": 0,
"debugMode": false,
"defaultColumnName": "column",
"execContext": "popup",
"executedBlockOnWeb": false,
"inputAutocomplete": true,
"insertDefaultColumn": false,
"notification": true,
"onError": "stop-workflow",
"publicId": "",
"restartTimes": 3,
"reuseLastState": false,
"saveLog": true,
"tabLoadTimeout": 30000
},
"globalData": "{\n\t\"key\": \"value\"\n}",
"description": "自动向IYUUPLUS更新那些需要提供Cookie的PT站点的Cookie信息。",
"includedWorkflows": {}
}