wow
This commit is contained in:
parent
4e76fa1f8b
commit
37837c31c5
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ async function siteCrawler(hostname) {
|
||||||
maxDepth: maxDepthCount,
|
maxDepth: maxDepthCount,
|
||||||
excludeDirs: ["https://doubleclick.net", "https://paypal.com", "https://archive.org", "*.css"],
|
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));
|
webContents.forEach(content => contexts.push(content));
|
||||||
return webContents;
|
return webContents;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|
Loading…
Reference in a new issue