doge
This commit is contained in:
parent
54153bc991
commit
64fd7afdf1
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ async function siteCrawler(hostname) {
|
||||||
const crawled = generateSearchTerm(hostname);
|
const crawled = generateSearchTerm(hostname);
|
||||||
|
|
||||||
const loader = new RecursiveUrlLoader(crawled, {
|
const loader = new RecursiveUrlLoader(crawled, {
|
||||||
extractor: Readability(document).parse(),
|
extractor: new Readability(document).parse(),
|
||||||
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"],
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue