1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "urlsToCheck": [{ "url": "https://www.amazon.com/b?ie=UTF8&node=11392907011" }],
10 "proxyConfiguration": {
11 "useApifyProxy": True,
12 "apifyProxyGroups": [
13 "SHADER",
14 "BUYPROXIES94952",
15 "RESIDENTIAL",
16 ],
17 },
18 "allowOnlyLinksFromSameDomain": False,
19 "repeatChecksOnProvidedUrls": 10,
20 "maxNumberOfPagesCheckedPerDomain": 1000,
21}
22
23
24run = client.actor("lukaskrivka/website-checker").call(run_input=run_input)
25
26
27print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
28for item in client.dataset(run["defaultDatasetId"]).iterate_items():
29 print(item)
30
31