fix: баги

This commit is contained in:
protokey committed 2026-09-09 16:22:53 +04:00
1 parent ec2dca2529
commit 7b85b99ba4
2 files changed
+4 -2

No files matched your search

+2 -2
View File
@@ -38,7 +38,7 @@ async def solve(request: Request, payload: SolveRequest):
actions_result = await actions.execute(page, payload.actions)
status = not "error" in actions_result[-1]
error = ["Something error", None][status]
cookies = await camoufo.cookies()
# cookies = await camoufo.cookies()
html = await page.inner_html('html')
await page.screenshot(
path=(
@@ -49,7 +49,7 @@ async def solve(request: Request, payload: SolveRequest):
return {
"status": ["err", "ok"][status],
"html": html,
"cookies": cookies,
# "cookies": cookies,
"actions": actions_result,
"error": error,
}