dsh-web-fetch-playwright
Run the following command in DeepSeek Harness:
dsh plugin install chendefine/dsh-web-fetch-playwright
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install chendefine/dsh-web-fetch-playwright in your terminal; the source lives at https://github.com/chendefine/dsh-web-fetch-playwright . Restart dsh web after installation to load the plugin.
About this plugin
The built-in web_fetch tool returns raw HTML. When the target is a single-page application, most of the rendered content is simply missing, and the returned markup is still cluttered with navigation bars, ads, and forms that only burn tokens and confuse the model. dsh-web-fetch-playwright replaces plain HTTP fetching with a real browser backend: pages are rendered in Playwright or a remote CDP browser, then passed through Readability for article extraction, DOMPurify to strip layout noise, and Turndown with the GFM plugin to produce clean, structured Markdown. For Cloudflare challenge interstitials, the plugin waits in the same tab for the browser to clear the check on its own—no clicking, no captcha injection, no state spoofing—and returns a distinct error code when the budget expires rather than handing back the interstitial as content.
Two backends are available: a local Playwright browser or a remote browser already running with a DevTools Protocol endpoint. In CDP profile mode each fetch is a tab in the browser's real session, inheriting cookies and localStorage just like a tab you open by hand; switched to isolated mode, every fetch gets a fresh anonymous context. Concurrency limits, the denoise toggle, and challenge-wait settings are editable live in a settings card and apply to the next fetch without a restart.
This plugin is for teams that need reliable, browser-level web scraping in DeepSeek Harness: the target sites are React or Vue SPAs, you need logged-in access to protected content, or you want clean Markdown output ready for an LLM. If you already run DSH web, installing this package upgrades web_fetch from a half-baked HTML dumper to a full browser-grade fetcher.
Screenshots
Use Cases
- Agent needs to scrape fully rendered content from React or Vue single-page apps
- You need logged-in browser session access to protected web pages
- You want clean Markdown extracted from web pages for LLM consumption
Best For
- AI agent developers working in the DSH web environment
- Automation teams that need browser-level web scraping capabilities
- LLM application teams aiming to cut page noise and improve token efficiency
Related Plugins
Free web search plugin for DeepSeek Harness with web search, X search, and page fetch; no signup or API key required, with automatic multi-engine failover.
AnySearch-powered web and vertical search plugin for DeepSeek Harness, offering real-time search, cleaned URL content, concurrent batch search via native web_search/web_fetch, no API key required.
Pixel-perfect webpage clone tool that uses an agent harness to turn any webpage into a scored, full-page React replica.
A bilingual cost-tracking plugin for DeepSeek Harness with session/daily cost, budget, official & custom provider balance, coding plan quotas, peak/off-peak pricing alerts, and history stats.