Skip to content

Commit 9e850d8

Browse files
committed
change http errs
1 parent 8472481 commit 9e850d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scrapegraphai/docloaders/chromium.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,8 @@ async def ascrape_playwright(self, url: str, browser_name: str = "chromium") ->
360360
else:
361361
raise ValueError(f"Invalid browser name: {browser_name}")
362362
context = await browser.new_context(
363-
storage_state=self.storage_state
363+
storage_state=self.storage_state,
364+
ignore_https_errors=True,
364365
)
365366
await Malenia.apply_stealth(context)
366367
page = await context.new_page()

0 commit comments

Comments
 (0)