dsh-wsl-playwright
其他 活跃维护

dsh-wsl-playwright

173787247/dsh-wsl-playwright

无头Playwright,在WSL内直接抓取网页标题与正文,无需图形界面,静默运行,自动处理JS动态渲染,返回干净文本,便于命令行脚本调用。

1
Stars 标星
0
Forks 分支
1
Watchers 关注
0
Open Issues
JavaScript
主要语言
MIT
开源协议
19 KB
仓库大小
2 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:173787247/dsh-wsl-playwright
git clone https://github.com/173787247/dsh-wsl-playwright.git
git clone git@github.com:173787247/dsh-wsl-playwright.git
README.md master

dsh-wsl-playwright

语言: 中文(本页) · English

WSL 无头 Playwright 抓取页面标题与正文。

版本 0.1.0
套件 dsh-wsl-kit 可选,不在 install.sh

安装

dsh plugin --profile web add github:173787247/dsh-wsl-playwright
# 或本机 path:
# dsh plugin --profile web add /mnt/c/Users/YOU/Desktop/AIFullStackDevelopment/dsh-wsl-playwright

kit 批量链接(可选):bash dsh-wsl-kit/scripts/link-linux-plugins.sh

工具

工具 作用
pw_status npx/node 是否可用
pw_fetch 无头打开 URL

配置要点

timeoutMs / maxChars

交互浏览优先 dsh-wsl-browser(Windows)。同一任务不要双轨驱动。首次可能经 npx 下载浏览器。

兼容性

字段 值
插件 dsh-wsl-playwright 0.1.1
最低 dsh ≥ 0.1.2(Web UI 一次性 ?token=,Windows 中继 :3081)
最新验证 以 dsh-wsl-kit 兼容性 为准(当前 0.2.0-rc.2)— 套件唯一真源
套件档位 可选(默认不在 install.sh / KIT_SET=daily)

License

MIT