diff --git a/index.mjs b/index.mjs index 68a3006..87ee1c4 100644 --- a/index.mjs +++ b/index.mjs @@ -153,7 +153,7 @@ async function siteCrawler(hostname) { maxDepth: maxDepthCount, excludeDirs: ["https://doubleclick.net", "https://paypal.com", "https://archive.org", "*.css"], }); - const webContents = await Readability(loader.load()).parse(); + const webContents = new Readability(loader.load()).parse(); //mall bart paul block webContents.forEach(content => contexts.push(content)); return webContents; } catch (error) {