fix: import crawlee

This commit is contained in:
karishmas6
2024-04-18 22:20:06 +05:30
parent 75d55f398c
commit 25173295d2

View File

@@ -1,3 +1,5 @@
import { PlaywrightCrawler } from 'crawlee';
async function scrapeData(url, selectors, waitForSeconds = 2) {
const crawler = new PlaywrightCrawler({
requestHandler: async ({ page }) => {