proxlane

v0.1.3
io.github.proxlane/proxlane Checked 4 days ago Published 17 days ago

Web fetch for agents through your own Proxlane gateway.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

fetch_page Fetch a web page

Fetch a web page through a Proxlane gateway, which fails over between scraping APIs and checks every response for block pages. Returns the page as text. On failure returns {ok:false, outcome, class, retryable, reason}: a blocked or captcha page is reported as a failure, never returned as content. Do not retry immediately when retryable is true; the gateway has already tried other providers.

ParameterTypeDescription
url *stringThe page to fetch, http or https.
countrystringTwo-letter country to fetch from, e.g. "us" or "de".
formatstring"text" (default) for readable text, "html" for the raw page.
max_charsintegerTruncate the result to this many characters.
renderbooleanRun JavaScript before the snapshot. Costs several times more; use only when the page needs it.
wait_forstringA CSS selector to wait for before the snapshot. Implies render. The page is a failure if it never appears.