Zoopla.co.uk Scraper avatar

Zoopla.co.uk Scraper

Try for free

3 days trial then $30.00/month - No credit card required now

View all Actors
Zoopla.co.uk Scraper

Zoopla.co.uk Scraper

dhrumil/zoopla-scraper
Try for free

3 days trial then $30.00/month - No credit card required now

Scrape Zoopla.co.uk to crawl millions of sale/rent real estate properties from United Kingdom. Our real estate scraper also lets you monitor specific listing for new updates/listing. You can provide multiple search result listings to scrape/monitor.

CO

Crawling stops after an hour while running it through the code

Closed

coolest_offspring opened this issue
7 months ago

private async fetchAndStoreData(): Promise { try { //Run the Actor and wait for it to finish const run = await client.actor("teOj85DgYAQSZUKeJ").call(input);

1//Fetch and print Actor results from the run's dataset (if any)
2        console.log('Results from dataset');
3        const { items } = await client.dataset(run.defaultDatasetId).listItems();
4
5        if (items) {
6            await this.listingsService.saveListings(items);
7        }
8    } catch (error) {
9        console.error('Failed to fetch data:', error);
10    }
11}

}

I'm using that code in my nest js server

dhrumil avatar

I have checked the run. It stopped after an hour because timeout is 3600 seconds under the settings of the actor.

Please increase timeout to the value suitable to your usecase. In case, you have no idea, don't worry. I just set default timeout to be 0 now. So, it will run until the list is over.

Developer
Maintained by Community

Actor Metrics

  • 5 monthly users

  • 3 stars

  • >99% runs succeeded

  • 0.2 hours response time

  • Created in Dec 2022

  • Modified 14 hours ago