mirror of
https://github.com/davidjohnbarton/crawler-google-places.git
synced 2025-12-12 16:38:45 +00:00
Improved logging message
This commit is contained in:
parent
4339f7ae56
commit
e4ff7ec417
|
|
@ -22,7 +22,7 @@ const enqueueAllUrlsFromPagination = async (page, requestQueue) => {
|
|||
await page.waitForSelector('.section-back-to-list-button');
|
||||
const url = page.url();
|
||||
await requestQueue.addRequest({ url, userData: { label: 'detail' } });
|
||||
console.log(`${url} added to queue.`);
|
||||
console.log(`Added to queue ${url}`);
|
||||
await page.click('.section-back-to-list-button');
|
||||
await sleep(5000);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user