Ignore SSL errors for web scraper

resolves #2114
This commit is contained in:
timothycarambat 2024-08-14 09:11:22 -07:00
parent b541623c9e
commit 619f6b3884
2 changed files with 4 additions and 3 deletions

View File

@ -57,6 +57,7 @@ async function getPageContent(link) {
const loader = new PuppeteerWebBaseLoader(link, { const loader = new PuppeteerWebBaseLoader(link, {
launchOptions: { launchOptions: {
headless: "new", headless: "new",
ignoreHTTPSErrors: true,
}, },
gotoOptions: { gotoOptions: {
waitUntil: "domcontentloaded", waitUntil: "domcontentloaded",