1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "rows": [
12 {
13 "id": "demo-0-0",
14 "url": "https://example.com/douyin/demo-0-0",
15 "text": "科技新品 测试 0 #科技",
16 "createTime": 1785549600,
17 "hashtags": [
18 "科技",
19 "新品"
20 ],
21 "authorMeta": {
22 "id": "d0",
23 "name": "Demo Douyin 0",
24 "username": "demo_d0",
25 "followersCount": 1000,
26 "verified": false
27 },
28 "statistics": {
29 "diggCount": 20,
30 "commentCount": 2,
31 "shareCount": 1,
32 "collectCount": 4,
33 "playCount": 1000
34 },
35 "demo": true
36 },
37 {
38 "id": "demo-0-1",
39 "url": "https://example.com/douyin/demo-0-1",
40 "text": "科技新品 测试 1 #科技",
41 "createTime": 1785639600,
42 "hashtags": [
43 "科技",
44 "新品"
45 ],
46 "authorMeta": {
47 "id": "d1",
48 "name": "Demo Douyin 1",
49 "username": "demo_d1",
50 "followersCount": 1500,
51 "verified": false
52 },
53 "statistics": {
54 "diggCount": 23,
55 "commentCount": 3,
56 "shareCount": 2,
57 "collectCount": 4,
58 "playCount": 1100
59 },
60 "demo": true
61 },
62 {
63 "id": "demo-0-2",
64 "url": "https://example.com/douyin/demo-0-2",
65 "text": "科技新品 测试 2 #科技",
66 "createTime": 1785729600,
67 "hashtags": [
68 "科技",
69 "新品"
70 ],
71 "authorMeta": {
72 "id": "d0",
73 "name": "Demo Douyin 0",
74 "username": "demo_d0",
75 "followersCount": 1000,
76 "verified": false
77 },
78 "statistics": {
79 "diggCount": 26,
80 "commentCount": 4,
81 "shareCount": 3,
82 "collectCount": 4,
83 "playCount": 1200
84 },
85 "demo": true
86 },
87 {
88 "id": "demo-0-3",
89 "url": "https://example.com/douyin/demo-0-3",
90 "text": "科技新品 测试 3 #科技",
91 "createTime": 1785819600,
92 "hashtags": [
93 "科技",
94 "新品"
95 ],
96 "authorMeta": {
97 "id": "d1",
98 "name": "Demo Douyin 1",
99 "username": "demo_d1",
100 "followersCount": 1500,
101 "verified": false
102 },
103 "statistics": {
104 "diggCount": 29,
105 "commentCount": 5,
106 "shareCount": 1,
107 "collectCount": 4,
108 "playCount": 1300
109 },
110 "demo": true
111 },
112 {
113 "id": "demo-0-4",
114 "url": "https://example.com/douyin/demo-0-4",
115 "text": "科技新品 测试 4 #科技",
116 "createTime": 1785909600,
117 "hashtags": [
118 "科技",
119 "新品"
120 ],
121 "authorMeta": {
122 "id": "d0",
123 "name": "Demo Douyin 0",
124 "username": "demo_d0",
125 "followersCount": 1000,
126 "verified": false
127 },
128 "statistics": {
129 "diggCount": 32,
130 "commentCount": 6,
131 "shareCount": 2,
132 "collectCount": 4,
133 "playCount": 1400
134 },
135 "demo": true
136 },
137 {
138 "id": "demo-0-5",
139 "url": "https://example.com/douyin/demo-0-5",
140 "text": "科技新品 测试 5 #科技",
141 "createTime": 1785999600,
142 "hashtags": [
143 "科技",
144 "新品"
145 ],
146 "authorMeta": {
147 "id": "d1",
148 "name": "Demo Douyin 1",
149 "username": "demo_d1",
150 "followersCount": 1500,
151 "verified": false
152 },
153 "statistics": {
154 "diggCount": 35,
155 "commentCount": 7,
156 "shareCount": 3,
157 "collectCount": 4,
158 "playCount": 1500
159 },
160 "demo": true
161 },
162 {
163 "id": "demo-0-6",
164 "url": "https://example.com/douyin/demo-0-6",
165 "text": "科技新品 测试 6 #科技",
166 "createTime": 1786089600,
167 "hashtags": [
168 "科技",
169 "新品"
170 ],
171 "authorMeta": {
172 "id": "d0",
173 "name": "Demo Douyin 0",
174 "username": "demo_d0",
175 "followersCount": 1000,
176 "verified": false
177 },
178 "statistics": {
179 "diggCount": 38,
180 "commentCount": 8,
181 "shareCount": 1,
182 "collectCount": 4,
183 "playCount": 1600
184 },
185 "demo": true
186 },
187 {
188 "id": "demo-0-7",
189 "url": "https://example.com/douyin/demo-0-7",
190 "text": "科技新品 测试 7 #科技",
191 "createTime": 1785574800,
192 "hashtags": [
193 "科技",
194 "新品"
195 ],
196 "authorMeta": {
197 "id": "d1",
198 "name": "Demo Douyin 1",
199 "username": "demo_d1",
200 "followersCount": 1500,
201 "verified": false
202 },
203 "statistics": {
204 "diggCount": 41,
205 "commentCount": 9,
206 "shareCount": 2,
207 "collectCount": 4,
208 "playCount": 1700
209 },
210 "demo": true
211 },
212 {
213 "id": "demo-0-8",
214 "url": "https://example.com/douyin/demo-0-8",
215 "text": "科技新品 测试 8 #科技",
216 "createTime": 1785664800,
217 "hashtags": [
218 "科技",
219 "新品"
220 ],
221 "authorMeta": {
222 "id": "d0",
223 "name": "Demo Douyin 0",
224 "username": "demo_d0",
225 "followersCount": 1000,
226 "verified": false
227 },
228 "statistics": {
229 "diggCount": 44,
230 "commentCount": 10,
231 "shareCount": 3,
232 "collectCount": 4,
233 "playCount": 1800
234 },
235 "demo": true
236 },
237 {
238 "id": "demo-0-9",
239 "url": "https://example.com/douyin/demo-0-9",
240 "text": "科技新品 测试 9 #科技",
241 "createTime": 1785754800,
242 "hashtags": [
243 "科技",
244 "新品"
245 ],
246 "authorMeta": {
247 "id": "d1",
248 "name": "Demo Douyin 1",
249 "username": "demo_d1",
250 "followersCount": 1500,
251 "verified": false
252 },
253 "statistics": {
254 "diggCount": 47,
255 "commentCount": 11,
256 "shareCount": 1,
257 "collectCount": 4,
258 "playCount": 1900
259 },
260 "demo": true
261 },
262 {
263 "id": "demo-0-10",
264 "url": "https://example.com/douyin/demo-0-10",
265 "text": "科技新品 测试 10 #科技",
266 "createTime": 1785844800,
267 "hashtags": [
268 "科技",
269 "新品"
270 ],
271 "authorMeta": {
272 "id": "d0",
273 "name": "Demo Douyin 0",
274 "username": "demo_d0",
275 "followersCount": 1000,
276 "verified": false
277 },
278 "statistics": {
279 "diggCount": 50,
280 "commentCount": 12,
281 "shareCount": 2,
282 "collectCount": 4,
283 "playCount": 2000
284 },
285 "demo": true
286 },
287 {
288 "id": "demo-0-11",
289 "url": "https://example.com/douyin/demo-0-11",
290 "text": "科技新品 测试 11 #科技",
291 "createTime": 1785934800,
292 "hashtags": [
293 "科技",
294 "新品"
295 ],
296 "authorMeta": {
297 "id": "d1",
298 "name": "Demo Douyin 1",
299 "username": "demo_d1",
300 "followersCount": 1500,
301 "verified": false
302 },
303 "statistics": {
304 "diggCount": 53,
305 "commentCount": 13,
306 "shareCount": 3,
307 "collectCount": 4,
308 "playCount": 2100
309 },
310 "demo": true
311 },
312 {
313 "id": "demo-0-12",
314 "url": "https://example.com/douyin/demo-0-12",
315 "text": "科技新品 测试 12 #科技",
316 "createTime": 1785981600,
317 "hashtags": [
318 "科技",
319 "新品"
320 ],
321 "authorMeta": {
322 "id": "d0",
323 "name": "Demo Douyin 0",
324 "username": "demo_d0",
325 "followersCount": 1000,
326 "verified": false
327 },
328 "statistics": {
329 "diggCount": 56,
330 "commentCount": 14,
331 "shareCount": 1,
332 "collectCount": 4,
333 "playCount": 2200
334 },
335 "demo": true
336 },
337 {
338 "id": "demo-0-13",
339 "url": "https://example.com/douyin/demo-0-13",
340 "text": "科技新品 测试 13 #科技",
341 "createTime": 1786071600,
342 "hashtags": [
343 "科技",
344 "新品"
345 ],
346 "authorMeta": {
347 "id": "d1",
348 "name": "Demo Douyin 1",
349 "username": "demo_d1",
350 "followersCount": 1500,
351 "verified": false
352 },
353 "statistics": {
354 "diggCount": 59,
355 "commentCount": 15,
356 "shareCount": 2,
357 "collectCount": 4,
358 "playCount": 2300
359 },
360 "demo": true
361 },
362 {
363 "id": "demo-0-14",
364 "url": "https://example.com/douyin/demo-0-14",
365 "text": "科技新品 测试 14 #科技",
366 "createTime": 1785556800,
367 "hashtags": [
368 "科技",
369 "新品"
370 ],
371 "authorMeta": {
372 "id": "d0",
373 "name": "Demo Douyin 0",
374 "username": "demo_d0",
375 "followersCount": 1000,
376 "verified": false
377 },
378 "statistics": {
379 "diggCount": 62,
380 "commentCount": 16,
381 "shareCount": 3,
382 "collectCount": 4,
383 "playCount": 2400
384 },
385 "demo": true
386 },
387 {
388 "id": "demo-0-15",
389 "url": "https://example.com/douyin/demo-0-15",
390 "text": "科技新品 测试 15 #科技",
391 "createTime": 1785646800,
392 "hashtags": [
393 "科技",
394 "新品"
395 ],
396 "authorMeta": {
397 "id": "d1",
398 "name": "Demo Douyin 1",
399 "username": "demo_d1",
400 "followersCount": 1500,
401 "verified": false
402 },
403 "statistics": {
404 "diggCount": 65,
405 "commentCount": 17,
406 "shareCount": 1,
407 "collectCount": 4,
408 "playCount": 2500
409 },
410 "demo": true
411 },
412 {
413 "id": "demo-0-16",
414 "url": "https://example.com/douyin/demo-0-16",
415 "text": "科技新品 测试 16 #科技",
416 "createTime": 1785736800,
417 "hashtags": [
418 "科技",
419 "新品"
420 ],
421 "authorMeta": {
422 "id": "d0",
423 "name": "Demo Douyin 0",
424 "username": "demo_d0",
425 "followersCount": 1000,
426 "verified": false
427 },
428 "statistics": {
429 "diggCount": 68,
430 "commentCount": 18,
431 "shareCount": 2,
432 "collectCount": 4,
433 "playCount": 2600
434 },
435 "demo": true
436 },
437 {
438 "id": "demo-0-17",
439 "url": "https://example.com/douyin/demo-0-17",
440 "text": "科技新品 测试 17 #科技",
441 "createTime": 1785826800,
442 "hashtags": [
443 "科技",
444 "新品"
445 ],
446 "authorMeta": {
447 "id": "d1",
448 "name": "Demo Douyin 1",
449 "username": "demo_d1",
450 "followersCount": 1500,
451 "verified": false
452 },
453 "statistics": {
454 "diggCount": 71,
455 "commentCount": 19,
456 "shareCount": 3,
457 "collectCount": 4,
458 "playCount": 2700
459 },
460 "demo": true
461 },
462 {
463 "id": "demo-0-18",
464 "url": "https://example.com/douyin/demo-0-18",
465 "text": "科技新品 测试 18 #科技",
466 "createTime": 1785916800,
467 "hashtags": [
468 "科技",
469 "新品"
470 ],
471 "authorMeta": {
472 "id": "d0",
473 "name": "Demo Douyin 0",
474 "username": "demo_d0",
475 "followersCount": 1000,
476 "verified": false
477 },
478 "statistics": {
479 "diggCount": 74,
480 "commentCount": 20,
481 "shareCount": 1,
482 "collectCount": 4,
483 "playCount": 2800
484 },
485 "demo": true
486 },
487 {
488 "id": "demo-0-19",
489 "url": "https://example.com/douyin/demo-0-19",
490 "text": "科技新品 测试 19 #科技",
491 "createTime": 1786006800,
492 "hashtags": [
493 "科技",
494 "新品"
495 ],
496 "authorMeta": {
497 "id": "d1",
498 "name": "Demo Douyin 1",
499 "username": "demo_d1",
500 "followersCount": 1500,
501 "verified": false
502 },
503 "statistics": {
504 "diggCount": 77,
505 "commentCount": 21,
506 "shareCount": 2,
507 "collectCount": 4,
508 "playCount": 2900
509 },
510 "demo": true
511 },
512 {
513 "id": "demo-1-0",
514 "url": "https://example.com/xhs/demo-1-0",
515 "title": "生活好物 0",
516 "desc": "合成商品分享 #生活",
517 "timestamp": 1785549600000,
518 "engagement": {
519 "liked_count": 30,
520 "comments_count": 3,
521 "shared_count": 2,
522 "collected_count": 5,
523 "nice_count": 99
524 },
525 "author": {
526 "userid": "x0",
527 "nickname": "Demo XHS 0",
528 "red_id": "demo_x0",
529 "verified": false
530 },
531 "tag_info": {
532 "title": "生活"
533 },
534 "keyword": "好物",
535 "type": "normal",
536 "demo": true
537 },
538 {
539 "id": "demo-1-1",
540 "url": "https://example.com/xhs/demo-1-1",
541 "title": "生活好物 1",
542 "desc": "合成商品分享 #生活",
543 "timestamp": 1785639600000,
544 "engagement": {
545 "liked_count": 32,
546 "comments_count": 4,
547 "shared_count": 2,
548 "collected_count": 5,
549 "nice_count": 99
550 },
551 "author": {
552 "userid": "x1",
553 "nickname": "Demo XHS 1",
554 "red_id": "demo_x1",
555 "verified": false
556 },
557 "tag_info": {
558 "title": "生活"
559 },
560 "keyword": "好物",
561 "type": "normal",
562 "demo": true
563 },
564 {
565 "id": "demo-1-2",
566 "url": "https://example.com/xhs/demo-1-2",
567 "title": "生活好物 2",
568 "desc": "合成商品分享 #生活",
569 "timestamp": 1785729600000,
570 "engagement": {
571 "liked_count": 34,
572 "comments_count": 5,
573 "shared_count": 2,
574 "collected_count": 5,
575 "nice_count": 99
576 },
577 "author": {
578 "userid": "x0",
579 "nickname": "Demo XHS 0",
580 "red_id": "demo_x0",
581 "verified": false
582 },
583 "tag_info": {
584 "title": "生活"
585 },
586 "keyword": "好物",
587 "type": "normal",
588 "demo": true
589 },
590 {
591 "id": "demo-1-3",
592 "url": "https://example.com/xhs/demo-1-3",
593 "title": "生活好物 3",
594 "desc": "合成商品分享 #生活",
595 "timestamp": 1785819600000,
596 "engagement": {
597 "liked_count": 36,
598 "comments_count": 6,
599 "shared_count": 2,
600 "collected_count": 5,
601 "nice_count": 99
602 },
603 "author": {
604 "userid": "x1",
605 "nickname": "Demo XHS 1",
606 "red_id": "demo_x1",
607 "verified": false
608 },
609 "tag_info": {
610 "title": "生活"
611 },
612 "keyword": "好物",
613 "type": "normal",
614 "demo": true
615 },
616 {
617 "id": "demo-1-4",
618 "url": "https://example.com/xhs/demo-1-4",
619 "title": "生活好物 4",
620 "desc": "合成商品分享 #生活",
621 "timestamp": 1785909600000,
622 "engagement": {
623 "liked_count": 38,
624 "comments_count": 7,
625 "shared_count": 2,
626 "collected_count": 5,
627 "nice_count": 99
628 },
629 "author": {
630 "userid": "x0",
631 "nickname": "Demo XHS 0",
632 "red_id": "demo_x0",
633 "verified": false
634 },
635 "tag_info": {
636 "title": "生活"
637 },
638 "keyword": "好物",
639 "type": "normal",
640 "demo": true
641 },
642 {
643 "id": "demo-1-5",
644 "url": "https://example.com/xhs/demo-1-5",
645 "title": "生活好物 5",
646 "desc": "合成商品分享 #生活",
647 "timestamp": 1785999600000,
648 "engagement": {
649 "liked_count": 40,
650 "comments_count": 8,
651 "shared_count": 2,
652 "collected_count": 5,
653 "nice_count": 99
654 },
655 "author": {
656 "userid": "x1",
657 "nickname": "Demo XHS 1",
658 "red_id": "demo_x1",
659 "verified": false
660 },
661 "tag_info": {
662 "title": "生活"
663 },
664 "keyword": "好物",
665 "type": "normal",
666 "demo": true
667 },
668 {
669 "id": "demo-1-6",
670 "url": "https://example.com/xhs/demo-1-6",
671 "title": "生活好物 6",
672 "desc": "合成商品分享 #生活",
673 "timestamp": 1786089600000,
674 "engagement": {
675 "liked_count": 42,
676 "comments_count": 9,
677 "shared_count": 2,
678 "collected_count": 5,
679 "nice_count": 99
680 },
681 "author": {
682 "userid": "x0",
683 "nickname": "Demo XHS 0",
684 "red_id": "demo_x0",
685 "verified": false
686 },
687 "tag_info": {
688 "title": "生活"
689 },
690 "keyword": "好物",
691 "type": "normal",
692 "demo": true
693 },
694 {
695 "id": "demo-1-7",
696 "url": "https://example.com/xhs/demo-1-7",
697 "title": "生活好物 7",
698 "desc": "合成商品分享 #生活",
699 "timestamp": 1785574800000,
700 "engagement": {
701 "liked_count": 44,
702 "comments_count": 10,
703 "shared_count": 2,
704 "collected_count": 5,
705 "nice_count": 99
706 },
707 "author": {
708 "userid": "x1",
709 "nickname": "Demo XHS 1",
710 "red_id": "demo_x1",
711 "verified": false
712 },
713 "tag_info": {
714 "title": "生活"
715 },
716 "keyword": "好物",
717 "type": "normal",
718 "demo": true
719 },
720 {
721 "id": "demo-1-8",
722 "url": "https://example.com/xhs/demo-1-8",
723 "title": "生活好物 8",
724 "desc": "合成商品分享 #生活",
725 "timestamp": 1785664800000,
726 "engagement": {
727 "liked_count": 46,
728 "comments_count": 11,
729 "shared_count": 2,
730 "collected_count": 5,
731 "nice_count": 99
732 },
733 "author": {
734 "userid": "x0",
735 "nickname": "Demo XHS 0",
736 "red_id": "demo_x0",
737 "verified": false
738 },
739 "tag_info": {
740 "title": "生活"
741 },
742 "keyword": "好物",
743 "type": "normal",
744 "demo": true
745 },
746 {
747 "id": "demo-1-9",
748 "url": "https://example.com/xhs/demo-1-9",
749 "title": "生活好物 9",
750 "desc": "合成商品分享 #生活",
751 "timestamp": 1785754800000,
752 "engagement": {
753 "liked_count": 48,
754 "comments_count": 12,
755 "shared_count": 2,
756 "collected_count": 5,
757 "nice_count": 99
758 },
759 "author": {
760 "userid": "x1",
761 "nickname": "Demo XHS 1",
762 "red_id": "demo_x1",
763 "verified": false
764 },
765 "tag_info": {
766 "title": "生活"
767 },
768 "keyword": "好物",
769 "type": "normal",
770 "demo": true
771 },
772 {
773 "id": "demo-1-10",
774 "url": "https://example.com/xhs/demo-1-10",
775 "title": "生活好物 10",
776 "desc": "合成商品分享 #生活",
777 "timestamp": 1785844800000,
778 "engagement": {
779 "liked_count": 50,
780 "comments_count": 13,
781 "shared_count": 2,
782 "collected_count": 5,
783 "nice_count": 99
784 },
785 "author": {
786 "userid": "x0",
787 "nickname": "Demo XHS 0",
788 "red_id": "demo_x0",
789 "verified": false
790 },
791 "tag_info": {
792 "title": "生活"
793 },
794 "keyword": "好物",
795 "type": "normal",
796 "demo": true
797 },
798 {
799 "id": "demo-1-11",
800 "url": "https://example.com/xhs/demo-1-11",
801 "title": "生活好物 11",
802 "desc": "合成商品分享 #生活",
803 "timestamp": 1785934800000,
804 "engagement": {
805 "liked_count": 52,
806 "comments_count": 14,
807 "shared_count": 2,
808 "collected_count": 5,
809 "nice_count": 99
810 },
811 "author": {
812 "userid": "x1",
813 "nickname": "Demo XHS 1",
814 "red_id": "demo_x1",
815 "verified": false
816 },
817 "tag_info": {
818 "title": "生活"
819 },
820 "keyword": "好物",
821 "type": "normal",
822 "demo": true
823 },
824 {
825 "id": "demo-1-12",
826 "url": "https://example.com/xhs/demo-1-12",
827 "title": "生活好物 12",
828 "desc": "合成商品分享 #生活",
829 "timestamp": 1785981600000,
830 "engagement": {
831 "liked_count": 54,
832 "comments_count": 15,
833 "shared_count": 2,
834 "collected_count": 5,
835 "nice_count": 99
836 },
837 "author": {
838 "userid": "x0",
839 "nickname": "Demo XHS 0",
840 "red_id": "demo_x0",
841 "verified": false
842 },
843 "tag_info": {
844 "title": "生活"
845 },
846 "keyword": "好物",
847 "type": "normal",
848 "demo": true
849 },
850 {
851 "id": "demo-1-13",
852 "url": "https://example.com/xhs/demo-1-13",
853 "title": "生活好物 13",
854 "desc": "合成商品分享 #生活",
855 "timestamp": 1786071600000,
856 "engagement": {
857 "liked_count": 56,
858 "comments_count": 16,
859 "shared_count": 2,
860 "collected_count": 5,
861 "nice_count": 99
862 },
863 "author": {
864 "userid": "x1",
865 "nickname": "Demo XHS 1",
866 "red_id": "demo_x1",
867 "verified": false
868 },
869 "tag_info": {
870 "title": "生活"
871 },
872 "keyword": "好物",
873 "type": "normal",
874 "demo": true
875 },
876 {
877 "id": "demo-1-14",
878 "url": "https://example.com/xhs/demo-1-14",
879 "title": "生活好物 14",
880 "desc": "合成商品分享 #生活",
881 "timestamp": 1785556800000,
882 "engagement": {
883 "liked_count": 58,
884 "comments_count": 17,
885 "shared_count": 2,
886 "collected_count": 5,
887 "nice_count": 99
888 },
889 "author": {
890 "userid": "x0",
891 "nickname": "Demo XHS 0",
892 "red_id": "demo_x0",
893 "verified": false
894 },
895 "tag_info": {
896 "title": "生活"
897 },
898 "keyword": "好物",
899 "type": "normal",
900 "demo": true
901 },
902 {
903 "id": "demo-1-15",
904 "url": "https://example.com/xhs/demo-1-15",
905 "title": "生活好物 15",
906 "desc": "合成商品分享 #生活",
907 "timestamp": 1785646800000,
908 "engagement": {
909 "liked_count": 60,
910 "comments_count": 18,
911 "shared_count": 2,
912 "collected_count": 5,
913 "nice_count": 99
914 },
915 "author": {
916 "userid": "x1",
917 "nickname": "Demo XHS 1",
918 "red_id": "demo_x1",
919 "verified": false
920 },
921 "tag_info": {
922 "title": "生活"
923 },
924 "keyword": "好物",
925 "type": "normal",
926 "demo": true
927 },
928 {
929 "id": "demo-1-16",
930 "url": "https://example.com/xhs/demo-1-16",
931 "title": "生活好物 16",
932 "desc": "合成商品分享 #生活",
933 "timestamp": 1785736800000,
934 "engagement": {
935 "liked_count": 62,
936 "comments_count": 19,
937 "shared_count": 2,
938 "collected_count": 5,
939 "nice_count": 99
940 },
941 "author": {
942 "userid": "x0",
943 "nickname": "Demo XHS 0",
944 "red_id": "demo_x0",
945 "verified": false
946 },
947 "tag_info": {
948 "title": "生活"
949 },
950 "keyword": "好物",
951 "type": "normal",
952 "demo": true
953 },
954 {
955 "id": "demo-1-17",
956 "url": "https://example.com/xhs/demo-1-17",
957 "title": "生活好物 17",
958 "desc": "合成商品分享 #生活",
959 "timestamp": 1785826800000,
960 "engagement": {
961 "liked_count": 64,
962 "comments_count": 20,
963 "shared_count": 2,
964 "collected_count": 5,
965 "nice_count": 99
966 },
967 "author": {
968 "userid": "x1",
969 "nickname": "Demo XHS 1",
970 "red_id": "demo_x1",
971 "verified": false
972 },
973 "tag_info": {
974 "title": "生活"
975 },
976 "keyword": "好物",
977 "type": "normal",
978 "demo": true
979 },
980 {
981 "id": "demo-1-18",
982 "url": "https://example.com/xhs/demo-1-18",
983 "title": "生活好物 18",
984 "desc": "合成商品分享 #生活",
985 "timestamp": 1785916800000,
986 "engagement": {
987 "liked_count": 66,
988 "comments_count": 21,
989 "shared_count": 2,
990 "collected_count": 5,
991 "nice_count": 99
992 },
993 "author": {
994 "userid": "x0",
995 "nickname": "Demo XHS 0",
996 "red_id": "demo_x0",
997 "verified": false
998 },
999 "tag_info": {
1000 "title": "生活"
1001 },
1002 "keyword": "好物",
1003 "type": "normal",
1004 "demo": true
1005 },
1006 {
1007 "id": "demo-1-19",
1008 "url": "https://example.com/xhs/demo-1-19",
1009 "title": "生活好物 19",
1010 "desc": "合成商品分享 #生活",
1011 "timestamp": 1786006800000,
1012 "engagement": {
1013 "liked_count": 68,
1014 "comments_count": 22,
1015 "shared_count": 2,
1016 "collected_count": 5,
1017 "nice_count": 99
1018 },
1019 "author": {
1020 "userid": "x1",
1021 "nickname": "Demo XHS 1",
1022 "red_id": "demo_x1",
1023 "verified": false
1024 },
1025 "tag_info": {
1026 "title": "生活"
1027 },
1028 "keyword": "好物",
1029 "type": "normal",
1030 "demo": true
1031 },
1032 {
1033 "id": "demo-2-0",
1034 "url": "https://example.com/weibo/demo-2-0",
1035 "text": "合成新闻 科技发布 0 #科技#",
1036 "created_at": "Sat, 01 Aug 2026 02:00:00 GMT",
1037 "attitudes_count": 10,
1038 "reposts_count": 0,
1039 "comments_count": 2,
1040 "user": {
1041 "id": "w0",
1042 "screen_name": "Demo Weibo 0",
1043 "followers_count": 2000
1044 },
1045 "demo": true
1046 },
1047 {
1048 "id": "demo-2-1",
1049 "url": "https://example.com/weibo/demo-2-1",
1050 "text": "合成新闻 科技发布 1 #科技#",
1051 "created_at": "Sun, 02 Aug 2026 03:00:00 GMT",
1052 "attitudes_count": 11,
1053 "reposts_count": 1,
1054 "comments_count": 3,
1055 "user": {
1056 "id": "w1",
1057 "screen_name": "Demo Weibo 1",
1058 "followers_count": 2000
1059 },
1060 "demo": true
1061 },
1062 {
1063 "id": "demo-2-2",
1064 "url": "https://example.com/weibo/demo-2-2",
1065 "text": "合成新闻 科技发布 2 #科技#",
1066 "created_at": "Mon, 03 Aug 2026 04:00:00 GMT",
1067 "attitudes_count": 12,
1068 "reposts_count": 2,
1069 "comments_count": 4,
1070 "user": {
1071 "id": "w0",
1072 "screen_name": "Demo Weibo 0",
1073 "followers_count": 2000
1074 },
1075 "demo": true
1076 },
1077 {
1078 "id": "demo-2-3",
1079 "url": "https://example.com/weibo/demo-2-3",
1080 "text": "合成新闻 科技发布 3 #科技#",
1081 "created_at": "Tue, 04 Aug 2026 05:00:00 GMT",
1082 "attitudes_count": 13,
1083 "reposts_count": 3,
1084 "comments_count": 5,
1085 "user": {
1086 "id": "w1",
1087 "screen_name": "Demo Weibo 1",
1088 "followers_count": 2000
1089 },
1090 "demo": true
1091 },
1092 {
1093 "id": "demo-2-4",
1094 "url": "https://example.com/weibo/demo-2-4",
1095 "text": "合成新闻 科技发布 4 #科技#",
1096 "created_at": "Wed, 05 Aug 2026 06:00:00 GMT",
1097 "attitudes_count": 14,
1098 "reposts_count": 0,
1099 "comments_count": 6,
1100 "user": {
1101 "id": "w0",
1102 "screen_name": "Demo Weibo 0",
1103 "followers_count": 2000
1104 },
1105 "demo": true
1106 },
1107 {
1108 "id": "demo-2-5",
1109 "url": "https://example.com/weibo/demo-2-5",
1110 "text": "合成新闻 科技发布 5 #科技#",
1111 "created_at": "Thu, 06 Aug 2026 07:00:00 GMT",
1112 "attitudes_count": 15,
1113 "reposts_count": 1,
1114 "comments_count": 7,
1115 "user": {
1116 "id": "w1",
1117 "screen_name": "Demo Weibo 1",
1118 "followers_count": 2000
1119 },
1120 "demo": true
1121 },
1122 {
1123 "id": "demo-2-6",
1124 "url": "https://example.com/weibo/demo-2-6",
1125 "text": "合成新闻 科技发布 6 #科技#",
1126 "created_at": "Fri, 07 Aug 2026 08:00:00 GMT",
1127 "attitudes_count": 16,
1128 "reposts_count": 2,
1129 "comments_count": 8,
1130 "user": {
1131 "id": "w0",
1132 "screen_name": "Demo Weibo 0",
1133 "followers_count": 2000
1134 },
1135 "demo": true
1136 },
1137 {
1138 "id": "demo-2-7",
1139 "url": "https://example.com/weibo/demo-2-7",
1140 "text": "合成新闻 科技发布 7 #科技#",
1141 "created_at": "Sat, 01 Aug 2026 09:00:00 GMT",
1142 "attitudes_count": 17,
1143 "reposts_count": 3,
1144 "comments_count": 9,
1145 "user": {
1146 "id": "w1",
1147 "screen_name": "Demo Weibo 1",
1148 "followers_count": 2000
1149 },
1150 "demo": true
1151 },
1152 {
1153 "id": "demo-2-8",
1154 "url": "https://example.com/weibo/demo-2-8",
1155 "text": "合成新闻 科技发布 8 #科技#",
1156 "created_at": "Sun, 02 Aug 2026 10:00:00 GMT",
1157 "attitudes_count": 18,
1158 "reposts_count": 0,
1159 "comments_count": 10,
1160 "user": {
1161 "id": "w0",
1162 "screen_name": "Demo Weibo 0",
1163 "followers_count": 2000
1164 },
1165 "demo": true
1166 },
1167 {
1168 "id": "demo-2-9",
1169 "url": "https://example.com/weibo/demo-2-9",
1170 "text": "合成新闻 科技发布 9 #科技#",
1171 "created_at": "Mon, 03 Aug 2026 11:00:00 GMT",
1172 "attitudes_count": 19,
1173 "reposts_count": 1,
1174 "comments_count": 11,
1175 "user": {
1176 "id": "w1",
1177 "screen_name": "Demo Weibo 1",
1178 "followers_count": 2000
1179 },
1180 "demo": true
1181 },
1182 {
1183 "id": "demo-2-10",
1184 "url": "https://example.com/weibo/demo-2-10",
1185 "text": "合成新闻 科技发布 10 #科技#",
1186 "created_at": "Tue, 04 Aug 2026 12:00:00 GMT",
1187 "attitudes_count": 20,
1188 "reposts_count": 2,
1189 "comments_count": 12,
1190 "user": {
1191 "id": "w0",
1192 "screen_name": "Demo Weibo 0",
1193 "followers_count": 2000
1194 },
1195 "demo": true
1196 },
1197 {
1198 "id": "demo-2-11",
1199 "url": "https://example.com/weibo/demo-2-11",
1200 "text": "合成新闻 科技发布 11 #科技#",
1201 "created_at": "Wed, 05 Aug 2026 13:00:00 GMT",
1202 "attitudes_count": 21,
1203 "reposts_count": 3,
1204 "comments_count": 13,
1205 "user": {
1206 "id": "w1",
1207 "screen_name": "Demo Weibo 1",
1208 "followers_count": 2000
1209 },
1210 "demo": true
1211 },
1212 {
1213 "id": "demo-2-12",
1214 "url": "https://example.com/weibo/demo-2-12",
1215 "text": "合成新闻 科技发布 12 #科技#",
1216 "created_at": "Thu, 06 Aug 2026 02:00:00 GMT",
1217 "attitudes_count": 22,
1218 "reposts_count": 0,
1219 "comments_count": 14,
1220 "user": {
1221 "id": "w0",
1222 "screen_name": "Demo Weibo 0",
1223 "followers_count": 2000
1224 },
1225 "demo": true
1226 },
1227 {
1228 "id": "demo-2-13",
1229 "url": "https://example.com/weibo/demo-2-13",
1230 "text": "合成新闻 科技发布 13 #科技#",
1231 "created_at": "Fri, 07 Aug 2026 03:00:00 GMT",
1232 "attitudes_count": 23,
1233 "reposts_count": 1,
1234 "comments_count": 15,
1235 "user": {
1236 "id": "w1",
1237 "screen_name": "Demo Weibo 1",
1238 "followers_count": 2000
1239 },
1240 "demo": true
1241 },
1242 {
1243 "id": "demo-2-14",
1244 "url": "https://example.com/weibo/demo-2-14",
1245 "text": "合成新闻 科技发布 14 #科技#",
1246 "created_at": "Sat, 01 Aug 2026 04:00:00 GMT",
1247 "attitudes_count": 24,
1248 "reposts_count": 2,
1249 "comments_count": 16,
1250 "user": {
1251 "id": "w0",
1252 "screen_name": "Demo Weibo 0",
1253 "followers_count": 2000
1254 },
1255 "demo": true
1256 },
1257 {
1258 "id": "demo-2-15",
1259 "url": "https://example.com/weibo/demo-2-15",
1260 "text": "合成新闻 科技发布 15 #科技#",
1261 "created_at": "Sun, 02 Aug 2026 05:00:00 GMT",
1262 "attitudes_count": 25,
1263 "reposts_count": 3,
1264 "comments_count": 17,
1265 "user": {
1266 "id": "w1",
1267 "screen_name": "Demo Weibo 1",
1268 "followers_count": 2000
1269 },
1270 "demo": true
1271 },
1272 {
1273 "id": "demo-2-16",
1274 "url": "https://example.com/weibo/demo-2-16",
1275 "text": "合成新闻 科技发布 16 #科技#",
1276 "created_at": "Mon, 03 Aug 2026 06:00:00 GMT",
1277 "attitudes_count": 26,
1278 "reposts_count": 0,
1279 "comments_count": 18,
1280 "user": {
1281 "id": "w0",
1282 "screen_name": "Demo Weibo 0",
1283 "followers_count": 2000
1284 },
1285 "demo": true
1286 },
1287 {
1288 "id": "demo-2-17",
1289 "url": "https://example.com/weibo/demo-2-17",
1290 "text": "合成新闻 科技发布 17 #科技#",
1291 "created_at": "Tue, 04 Aug 2026 07:00:00 GMT",
1292 "attitudes_count": 27,
1293 "reposts_count": 1,
1294 "comments_count": 19,
1295 "user": {
1296 "id": "w1",
1297 "screen_name": "Demo Weibo 1",
1298 "followers_count": 2000
1299 },
1300 "demo": true
1301 },
1302 {
1303 "id": "demo-2-18",
1304 "url": "https://example.com/weibo/demo-2-18",
1305 "text": "合成新闻 科技发布 18 #科技#",
1306 "created_at": "Wed, 05 Aug 2026 08:00:00 GMT",
1307 "attitudes_count": 28,
1308 "reposts_count": 2,
1309 "comments_count": 20,
1310 "user": {
1311 "id": "w0",
1312 "screen_name": "Demo Weibo 0",
1313 "followers_count": 2000
1314 },
1315 "demo": true
1316 },
1317 {
1318 "id": "demo-2-19",
1319 "url": "https://example.com/weibo/demo-2-19",
1320 "text": "合成新闻 科技发布 19 #科技#",
1321 "created_at": "Thu, 06 Aug 2026 09:00:00 GMT",
1322 "attitudes_count": 29,
1323 "reposts_count": 3,
1324 "comments_count": 21,
1325 "user": {
1326 "id": "w1",
1327 "screen_name": "Demo Weibo 1",
1328 "followers_count": 2000
1329 },
1330 "demo": true
1331 }
1332 ],
1333 "fieldMap": {},
1334 "platform": "auto",
1335 "timezone": "Asia/Shanghai",
1336 "engagementDenominator": "views",
1337 "topCreators": 6,
1338 "topHashtags": 10,
1339 "topPosts": 5,
1340 "topWords": 10,
1341 "maxItems": 100
1342};
1343
1344
1345const run = await client.actor("zinin/douyin-xiaohongshu-weibo-analytics-report-builder").call(input);
1346
1347
1348console.log('Results from dataset');
1349console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
1350const { items } = await client.dataset(run.defaultDatasetId).listItems();
1351items.forEach((item) => {
1352 console.dir(item);
1353});
1354
1355