wow i'm a moron

This commit is contained in:
The Ghost of FOSS' Past 2024-10-03 10:15:27 -05:00
parent 64fd7afdf1
commit 9d0ad93176

View file

@ -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"],
}); });