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