Decodo/dsh-web-fetch ↗★ 0

@decodo/dsh-web-fetch

DeepSeek Harness (dsh) plugin: Decodo Web Scraping API as the provider behind the built-in web_fetch tool, via @decodo/sdk-ts. 适合需要让AI抓取和分析复杂网页内容的用户,需自备Decodo账号及Token。

パッケージ
@decodo/dsh-web-fetch
互換性
未検証
Harness ピア範囲
>=0.1.2-rc.1 <0.3.0
バージョン
1.0.1
ライセンス
MIT
最終更新
2026/10/01

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Decodo/dsh-web-fetch

ドキュメント

README 全文を読む ↗

Configuration

Override in your profile's cordis.patch.yml. A patch replaces the row's whole config, so restate every field you want to keep.

- id: web-fetch-decodo
  config:
    tokenEnv: SCRAPER_API_TOKEN   # env var holding the Web Scraping API Basic Auth token
    output: markdown              # markdown (default) or html
    maxFetchesPerSession: 200     # fetch limit per dsh process; 0 disables
    maxContentChars: 200000       # body cap; longer bodies are cut and flagged truncated
    requestTimeoutMs: 60000       # request timeout, keep at or below the tool's fetchTimeoutMs
FieldDefaultMeaning
tokenEnvSCRAPER_API_TOKENEnv var holding the Web Scraping API Basic Auth token; sent as Basic Auth
outputmarkdownmarkdown for Decodo's Markdown, html for the raw page
maxFetchesPerSession200Requests allowed per dsh process; 0 disables the cap
maxContentChars200000Body cap; longer bodies are cut and flagged truncated
requestTimeoutMs60000Request timeout

With output: markdown, the plugin requests Markdown from Decodo. When conversion succeeds, the plugin passes the result to the model unchanged. If the page is too large or empty, or if conversion fails, Decodo returns raw HTML with a note. DeepSeek Harness then converts the HTML. With output: html, Decodo always returns raw HTML for DeepSeek Harness to convert.