1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "videoUrls": [
10 "https://www.tiktok.com/@garyvee/video/7114641064446676267",
11 "https://www.tiktok.com/@garyvee/video/7709573267262082335",
12 "https://www.tiktok.com/@garyvee/video/7709570880371756302",
13 "https://www.tiktok.com/@natgeo/video/7683891628230315295",
14 "https://www.tiktok.com/@natgeo/video/7710023115882974494",
15 "https://www.tiktok.com/@natgeo/video/7709652827618004238",
16 "https://www.tiktok.com/@natgeo/video/7709559310069632269",
17 "https://www.tiktok.com/@mrbeast/video/7707741942771191054",
18 "https://www.tiktok.com/@mrbeast/video/7707342481465036062",
19 "https://www.tiktok.com/@mrbeast/video/7705603633437527327",
20 "https://www.tiktok.com/@mrbeast/video/7703595535009156383",
21 "https://www.tiktok.com/@khaby.lame/video/7709194461913419038",
22 "https://www.tiktok.com/@khaby.lame/video/7704740944427388191",
23 "https://www.tiktok.com/@khaby.lame/video/7697307919943060767",
24 "https://www.tiktok.com/@nba/video/7702956518437702942",
25 "https://www.tiktok.com/@nba/video/7702677121671597342",
26 "https://www.tiktok.com/@nba/video/7709983910251302174",
27 "https://www.tiktok.com/@tasty/video/7692487447233498382",
28 "https://www.tiktok.com/@tasty/video/7709960829289925918",
29 "https://www.tiktok.com/@beautifuldestinations/video/7703649328614673697",
30 "https://www.tiktok.com/@beautifuldestinations/video/7706974659270577431",
31 "https://www.tiktok.com/@garyvee/video/7528533857688243511",
32 "https://www.tiktok.com/@mrbeast/video/7702441498515688734",
33 "https://vt.tiktok.com/ZSuxBQqXr/",
34 "7632420077161270559",
35 "https://www.tiktok.com/@natgeo/video/7709513691019988238",
36 ],
37 "proxyConfiguration": { "useApifyProxy": False },
38}
39
40
41run = client.actor("transparent_meteorite/tiktok-video-scraper").call(run_input=run_input)
42
43
44print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
45for item in client.dataset(run.default_dataset_id).iterate_items():
46 print(item)
47
48