1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "startUrls": [{ "url": "https://example.com" }],
10 "domains": ["example.com"],
11 "googleMapsRows": [{
12 "name": "Example Coffee",
13 "website": "https://example.com",
14 }],
15 "businessRows": [{
16 "company": "Example Org",
17 "domain": "example.org",
18 }],
19 "shopifyRows": [{ "shopDomain": "example-store.com" }],
20 "serpRows": [{
21 "title": "Example Result",
22 "link": "https://example.net/contact",
23 }],
24 "rows": [{ "website": "https://example.io" }],
25}
26
27
28run = client.actor("isotonic/website-contact-social-link-extractor").call(run_input=run_input)
29
30
31print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
32for item in client.dataset(run["defaultDatasetId"]).iterate_items():
33 print(item)
34
35