ignore ssl https
This commit is contained in:
1 parent
16eb747b5c
commit
0d867367f9
1 file changed
+1
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user