1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "startUrls": [],
10 "keywords": [
11 "futebol",
12 "receita",
13 ],
14 "creatorKeywords": ["futebol"],
15 "hashtags": [
16 "brasil",
17 "fyp",
18 ],
19 "profiles": ["@cineverso678"],
20 "videoUrls": ["https://www.kwai.com/@cineverso678/video/5207718657171197158"],
21}
22
23
24run = client.actor("ahmed_jasarevic/kwai-kuaishou-scraper").call(run_input=run_input)
25
26
27print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
28for item in client.dataset(run.default_dataset_id).iterate_items():
29 print(item)
30
31