打开页面、按页面真正需要的方式等待、抽出可读正文、截图。Playwright 是可选依赖:没装时退回静态抓取并在结果里明确说明,因为「JavaScript 从未执行」的页面意味着的东西和渲染过的不同。正文靠给候选子树打正文密度分来选,而不是相信标签名,所以容器不会因为「包含的文档更多」而赢过它里面的正文。
curl -fsSL https://www.dshhub.co/install.sh -o dshhub-install.sh && bash dshhub-install.shAlready have DSH? Skip the wizard and install the market directly:dsh plugin --profile web add dshhub-market
This plugin installs only from the plugin side.