1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "startUrls": [{ "url": "https://www.facebook.com/nasaearth/posts/pfbid02QZnrKoDC2UBUcErwP1YkKhFmXX4mnJCeaJGC8eRGHwQyMt2Nadf3ez196Hw1bSX7l" }] }
9
10
11run = client.actor("doshikevin361/commet--apify-1").call(run_input=run_input)
12
13
14print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
15for item in client.dataset(run["defaultDatasetId"]).iterate_items():
16 print(item)
17
18