chore: remove console logs
This commit is contained in:
@@ -4,7 +4,6 @@ async function scrapeData(url, selectors, waitForSeconds = 2) {
|
|||||||
const scrapedData = [];
|
const scrapedData = [];
|
||||||
const crawler = new PlaywrightCrawler({
|
const crawler = new PlaywrightCrawler({
|
||||||
requestHandler: async ({ page, request }) => {
|
requestHandler: async ({ page, request }) => {
|
||||||
console.log('Request object:', request)
|
|
||||||
await page.goto(url);
|
await page.goto(url);
|
||||||
|
|
||||||
await page.waitForTimeout(waitForSeconds * 1000);
|
await page.waitForTimeout(waitForSeconds * 1000);
|
||||||
|
|||||||
Reference in New Issue
Block a user