When I scrape a collection of results, I want it to start crawling to the next page after it finishes scraping all the current data. However, I find that when it executes, crawling happens before showing scrapped data
Your environment
version of node: v6.11.0
version of npm: v3.10.10
Steps to reproduce
function scrapeAndCrawl(searchUrl) {
if (!searchUrl){
formData.splice(0,1);
startSearch();
Subject of the issue
When I scrape a collection of results, I want it to start crawling to the next page after it finishes scraping all the current data. However, I find that when it executes, crawling happens before showing scrapped data
Your environment
version of node: v6.11.0 version of npm: v3.10.10
Steps to reproduce
function scrapeAndCrawl(searchUrl) {