Update index.mjs

This commit is contained in:
The Ghost of FOSS' Future 2024-09-15 19:42:48 -05:00 committed by GitHub
parent ac87207398
commit 5a5b15e8eb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -124,7 +124,7 @@ async function siteCrawler(hostname) {
const loader = new RecursiveUrlLoader(crawled, {
extractor: compiledConvert,
maxDepth: 6,
maxDepth: 14,
excludeDirs: ["https://search.sparksammy.com/", "https://search.sparksammy.com/search.php", "https://archive.org", "https://doubleclick.net", "https://paypal.com"],
});
const webContents = await loader.load();