ignore ssl https

This commit is contained in:
javad committed 2026-08-16 17:06:45 +03:30
1 parent 16eb747b5c
commit 0d867367f9
1 file changed
+1 -1
+1 -1
View File
@@ -2605,7 +2605,7 @@ async def run_cbi_sayad_inquiry_logic(sayad_id: str, max_retries: int = 7) -> st
return json.dumps({"success": False, "data": None, "error": f"عدم اتصال به Lightpanda: {str(e)}"})
for attempt in range(1, max_retries + 1):
context = await browser.new_context()
context = await browser.new_context(ignore_https_errors=True, bypass_csp=True)
page = await context.new_page()
try: