cermak-petr / actor-zillow-api-scraper

Apify actor for extracting data about homes from Zillow.com using it's internal API.
https://apify.com/petr_cermak/zillow-api-scraper
Apache License 2.0
46 stars 40 forks source link

Include Date and Days on Zillow as Custom Field #48

Closed anaagladze closed 2 years ago

anaagladze commented 2 years ago

Hi, I'm unable to expand the Zillow Scraper to include the date listing was posted and how many days it is on Zillow.

I tried using this:

async ({ item, data }) => {

item.dataUpdated = data.date; // add new array data

return item; // need to return the item here, otherwise your dataset will be empty }

Can you please help to understand what I'm doing wrong?

pocesar commented 2 years ago

daysOnZillow is now available by default in simple and full outputs