Skip to main content
The langchain-scrapeunblocker package gives a LangChain agent tools to read any public page in a real browser (as clean Markdown or structured JSON), search Google, and run 100+ ready-made site scrapers, including pages behind Cloudflare, DataDome, PerimeterX and Akamai.
The package is open source at github.com/ScrapeUnblocker/langchain-scrapeunblocker and published on PyPI. It is built on the Python SDK.

Install

Requires Python 3.10+. The key also falls back to the SCRAPEUNBLOCKER_KEY variable, or pass api_key= to any tool.

Use with an agent

Tools

Every tool takes an optional proxy_country (country targeting) and supports ainvoke. ScrapeUnblockerGoogleSearch, ScrapeUnblockerParsedData and ScrapeUnblockerRunPlugin return the full API response as the ToolMessage artifact, while the model reads a compact version.
Failed calls come back to the model as text it can act on (for example “the page itself answered 404, do not retry”) instead of raising. The plugin catalog comes from the installed scrapeunblocker SDK, so upgrading the SDK picks up new plugins.