chore: общие правки

This commit is contained in:
protokey committed 2026-09-10 22:43:52 +04:00
1 parent c0d2d98911
commit 1a45976356
4 files changed
+32 -17

No files matched your search

+6 -3
View File
@@ -140,10 +140,13 @@ async def solve(
)
BROWSER_SLOTS += 1
return {
result = {
"status": ["err", "ok"][status],
"html": html,
"cookies": cookies,
"actions": actions_result,
"error": error,
}
if payload.html:
result["html"] = html
if error:
result["error"] = error
return result