I've been struggling to scrape the price history table details on the following page. My scraper code goes through a series of lists one by one and captures the details. When I create the text scrape element and preview the data, it all looks fine. When I run the scrape it captures NULL for most of the addresses I'm looking at even though there are values for each.
Url:
Root sitemap url: Georgina Real Estate for Sale | From $499,000 | Zoocasa
- This will scrape through 43 pages.
Specific url example of the price history table that is not being scraped.
Georgina Real Estate for Sale | From $499,000 | Zoocasa - The code scrapes content from the main page then element clicks to description tab
- The code clicks on the description tab and is supposed to get the price history information and store in the variables ListDate1, etc.
Sitemap:
{"_id":"testpropertylink","startUrl":["Georgina Real Estate for Sale | From $499,000 | Zoocasa div:nth-of-type(1) span:nth-of-type(2)","multiple":false,"regex":"","delay":0},{"id":"Size","type":"SelectorText","parentSelectors":["linktoproperty"],"selector":"section div:nth-of-type(3) span:nth-of-type(2)","multiple":false,"regex":"","delay":0},{"id":"Taxes","type":"SelectorText","parentSelectors":["linktoproperty"],"selector":"div:nth-of-type(5) span:nth-of-type(2)","multiple":false,"regex":"","delay":0},{"id":"description-click","type":"SelectorElementClick","parentSelectors":["linktoproperty"],"selector":"parent","multiple":true,"delay":"1000","clickElementSelector":"div.style_component__rpDkC:nth-of-type(2) li:nth-of-type(2)","clickType":"clickOnce","discardInitialElements":"discard","clickElementUniquenessType":"uniqueText"},{"id":"MLS Number","type":"SelectorText","parentSelectors":["description-click"],"selector":"section div:nth-of-type(1) span:nth-of-type(2)","multiple":false,"regex":"","delay":0},{"id":"Central Vac","type":"SelectorText","parentSelectors":["description-click"],"selector":"section div:nth-of-type(3) span:nth-of-type(2)","multiple":false,"regex":"","delay":0},{"id":"Acreage","type":"SelectorText","parentSelectors":["description-click"],"selector":"section div:nth-of-type(5) span:nth-of-type(2)","multiple":false,"regex":"","delay":0},{"id":"Approx Age","type":"SelectorText","parentSelectors":["linktoproperty"],"selector":"div:nth-of-type(7) span:nth-of-type(2)","multiple":false,"regex":"","delay":0},{"id":"Levels","type":"SelectorText","parentSelectors":["linktoproperty"],"selector":"section div:nth-of-type(2) span:nth-of-type(2)","multiple":false,"regex":"","delay":0},{"id":"Lot Size","type":"SelectorText","parentSelectors":["linktoproperty"],"selector":"div:nth-of-type(6) span:nth-of-type(2)","multiple":false,"regex":"","delay":0},{"id":"Type of Garage","type":"SelectorText","parentSelectors":["linktoproperty"],"selector":"div:nth-of-type(4) span:nth-of-type(2)","multiple":false,"regex":"","delay":0},{"id":"Basement","type":"SelectorText","parentSelectors":["description-click"],"selector":"div:nth-of-type(9) span:nth-of-type(2)","multiple":false,"regex":"","delay":0},{"id":"AirCondition","type":"SelectorText","parentSelectors":["description-click"],"selector":"div:nth-of-type(13) span:nth-of-type(2)","multiple":false,"regex":"","delay":0},{"id":"LaundryLevel","type":"SelectorText","parentSelectors":["description-click"],"selector":"section div:nth-of-type(2) span:nth-of-type(2)","multiple":false,"regex":"","delay":0},{"id":"Fireplace","type":"SelectorText","parentSelectors":["description-click"],"selector":"section div:nth-of-type(4) span:nth-of-type(2)","multiple":false,"regex":"","delay":0},{"id":"Exterior","type":"SelectorText","parentSelectors":["description-click"],"selector":"section div:nth-of-type(6) span:nth-of-type(2)","multiple":false,"regex":"","delay":0},{"id":"Driveway","type":"SelectorText","parentSelectors":["description-click"],"selector":"div:nth-of-type(10) span:nth-of-type(2)","multiple":false,"regex":"","delay":0},{"id":"Heat","type":"SelectorText","parentSelectors":["description-click"],"selector":"div:nth-of-type(12) span:nth-of-type(2)","multiple":false,"regex":"","delay":0},{"id":"HeatingFuel","type":"SelectorText","parentSelectors":["description-click"],"selector":"div:nth-of-type(14) span:nth-of-type(2)","multiple":false,"regex":"","delay":0},{"id":"Extras","type":"SelectorText","parentSelectors":["description-click"],"selector":".style_component__3IZXh > p section","multiple":false,"regex":"","delay":0},{"id":"Bedroomsnumber","type":"SelectorText","parentSelectors":["linktoproperty"],"selector":"span.style_stat__385D-:nth-of-type(1)","multiple":false,"regex":"","delay":0},{"id":"Bathroomnumber","type":"SelectorText","parentSelectors":["linktoproperty"],"selector":"span.style_stat__385D-:nth-of-type(2)","multiple":false,"regex":"","delay":0},{"id":"parkingspacesnumber","type":"SelectorText","parentSelectors":["linktoproperty"],"selector":"span.style_stat__385D-:nth-of-type(4)","multiple":false,"regex":"","delay":0},{"id":"PriceSoldFor","type":"SelectorText","parentSelectors":["linktoproperty"],"selector":"div.style_price__e6A8i","multiple":false,"regex":"","delay":0},{"id":"PriceListedFor","type":"SelectorText","parentSelectors":["linktoproperty"],"selector":".style_list-price__1FQe2 span","multiple":false,"regex":"","delay":0},{"id":"ListDate1","type":"SelectorText","parentSelectors":["description-click"],"selector":".style_active__1aXT0 > div:nth-of-type(1)","multiple":false,"regex":"","delay":0},{"id":"ListPrice1","type":"SelectorText","parentSelectors":["description-click"],"selector":".style_active__1aXT0 div:nth-of-type(2)","multiple":false,"regex":"","delay":0},{"id":"Status1","type":"SelectorText","parentSelectors":["description-click"],"selector":".style_active__1aXT0 p","multiple":false,"regex":"","delay":0},{"id":"EndDate1","type":"SelectorText","parentSelectors":["description-click"],"selector":".style_active__1aXT0 div:nth-of-type(4)","multiple":false,"regex":"","delay":0},{"id":"SoldPrice1","type":"SelectorText","parentSelectors":["description-click"],"selector":".style_active__1aXT0 div:nth-of-type(5)","multiple":false,"regex":"","delay":0},{"id":"ListDate2","type":"SelectorText","parentSelectors":["description-click"],"selector":"div.style_grid__1WWi7:nth-of-type(4) > div:nth-of-type(1)","multiple":false,"regex":"","delay":0},{"id":"ListPrice2","type":"SelectorText","parentSelectors":["description-click"],"selector":"div.style_grid__1WWi7:nth-of-type(4) div:nth-of-type(2)","multiple":false,"regex":"","delay":0},{"id":"Status2","type":"SelectorText","parentSelectors":["description-click"],"selector":"div:nth-of-type(4) .style_terminated__1pxe5 p","multiple":false,"regex":"","delay":0},{"id":"EndDate2","type":"SelectorText","parentSelectors":["description-click"],"selector":"div:nth-of-type(4) div:nth-of-type(4)","multiple":false,"regex":"","delay":0},{"id":"SoldPrice2","type":"SelectorText","parentSelectors":["description-click"],"selector":"div:nth-of-type(4) div:nth-of-type(5)","multiple":false,"regex":"","delay":0},{"id":"ListDate3","type":"SelectorText","parentSelectors":["description-click"],"selector":"div.style_grid__1WWi7:nth-of-type(5) > div:nth-of-type(1)","multiple":false,"regex":"","delay":0},{"id":"ListPrice3","type":"SelectorText","parentSelectors":["description-click"],"selector":"div.style_grid__1WWi7:nth-of-type(5) div:nth-of-type(2)","multiple":false,"regex":"","delay":0},{"id":"Status3","type":"SelectorText","parentSelectors":["description-click"],"selector":"div:nth-of-type(5) .style_status-label__3_pmx p","multiple":false,"regex":"","delay":0},{"id":"EndDate3","type":"SelectorText","parentSelectors":["description-click"],"selector":"div:nth-of-type(5) div:nth-of-type(4)","multiple":false,"regex":"","delay":0},{"id":"SoldPrice3","type":"SelectorText","parentSelectors":["description-click"],"selector":"div:nth-of-type(5) div:nth-of-type(5)","multiple":false,"regex":"","delay":0}]}
