1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "houzzUrls": ["https://www.houzz.com/photos/kitchen-ideas-and-designs-phbr0-bp~t_709"],
10 "maxItems": 10,
11 "includeProfessionalProjects": True,
12 "includeProjectDetails": False,
13 "includeProductReviews": True,
14 "includeAnswers": True,
15 "includeComments": False,
16 "maxPhotosPerTopic": 5,
17 "maxProjectsPerProfessional": 5,
18 "photoTopics": [],
19 "photoIds": [],
20 "professionalIds": [],
21 "professionalUsernames": [],
22 "productIds": [],
23 "questionIds": [],
24 "galleryIds": [],
25}
26
27
28run = client.actor("datascraperes/houzz-content-scraper").call(run_input=run_input)
29
30
31print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
32for item in client.dataset(run.default_dataset_id).iterate_items():
33 print(item)
34
35