wow i'm a moron
This commit is contained in:
parent
64fd7afdf1
commit
9d0ad93176
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: new Readability(document).parse(),
|
extractor: new Readability(craweled).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