This commit is contained in:
The Ghost of FOSS' Past 2024-10-02 17:59:11 -05:00
parent 54153bc991
commit 64fd7afdf1

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