WebSkrap

Async-first Python scraping on Playwright that also works as a web tool for LLMs and agents. You get coherent browser profiles, persistent sessions, resource routing, and Patchright-powered stealth. The MCP server runs that same stealth path, so agents get live pages back as plain text instead of raw HTML. The CLI and the MCP server also drive persistent interactive sessions with Playwright CLI-style commands. Take an aria snapshot, click an element by its ref, fill a form, screenshot the result, all against a browser that keeps running between calls.

Install

pip install webskrap
webskrap install

First fetch

import asyncio
 
from webskrap import WebSkrapClient
 
 
async def main() -> None:
    async with WebSkrapClient() as client:
        result = await client.fetch("https://example.com")
        print(result.status)
        print(result.title)
 
 
asyncio.run(main())

Explore