1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "startUrls": [
10 { "url": "https://www.facebook.com/9GAGCute/reels/" },
11 { "url": "https://www.facebook.com/reel/3292750537522330/" },
12 ],
13 "usernames": ["9GAGCute"],
14}
15
16
17run = client.actor("fetch_cat/facebook-reels-scraper").call(run_input=run_input)
18
19
20print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
21for item in client.dataset(run.default_dataset_id).iterate_items():
22 print(item)
23
24