MCPcopy Create free account
hub / github.com/TheSmallHanCat/flow2api / handle_request_failed

Method handle_request_failed

src/services/browser_captcha.py:1906–1916  ·  view source on GitHub ↗
(request)

Source from the content-addressed store, hash-verified

1904 break;
1905 }
1906 }
1907 const uaMatch = bodyText.match(/Current User Agent:\\s*([^\\n]+)/i);
1908 const ipMatch = bodyText.match(/Current IP Address:\\s*([^\\n]+)/i);
1909 return {
1910 score,
1911 source,
1912 raw_text: bodyText.slice(0, 4000),
1913 current_user_agent: uaMatch ? uaMatch[1].trim() : "",
1914 current_ip_address: ipMatch ? ipMatch[1].trim() : "",
1915 title: document.title || "",
1916 url: location.href || "",
1917 };
1918 }
1919 """

Callers

nothing calls this directly

Calls 1

log_warningMethod · 0.80

Tested by

no test coverage detected