Scraping using Browsr
Browsr ships quick extraction endpoints plus agent-friendly overlays so you can design and monitor scrapes without bolting on extra tooling.
Grab content as Markdown or HTML
Use /browser/content when you already know the selector you want. The response contains only the rendered fragment, which keeps token usage low.
SESSION=session-123
SELECTOR=main
# Markdown (best for LLMs)
curl "http://localhost:8082/browser/content?session_id=$SESSION&selector=$SELECTOR&mode=markdown"
# HTML (alias: /browser/html)
curl "http://localhost:8082/browser/content?session_id=$SESSION&selector=$SELECTOR&mode=html"
selectortargets any CSS selector.modesupportsmarkdownorhtml.- Use the same
session_idyou run commands against so cookies and navigation history stay intact.