全平台下载神器 webtorrent-torrent文件

全平台下载神器 webtorrent

webtorrent 介绍

很多时候我们要的只是一个速度快、好用的下载工具,而不是一个天天胡乱展示各种广告的浏览器,这时候你可以考虑 webtorrent 这个神器的工具。

webtorrent 是一个跨平台的下载工具,支持三大桌面系统 Linux、macOS 和 Windows,支持 BT、磁力链接协议,暂不支持 ed2k。有图形化和命令行2个版本的工具供你选择。

使用方法

webtorrent 依赖于 nodejs 环境,这里介绍命令行版 webtorrent-cli 的部署方法。

wget -c https://nodejs.org/dist/v10.15.3/node-v10.15.3-linux-x64.tar.xz
tar -xf node-v10.15.3-linux-x64.tar.xz
cd node-v10.15.3-linux-x64/bin/
./npm install --registry=https://registry.npm.taobao.org webtorrent-cliyi

以上就是 webtorrent-cli 的部署方法,是不是很简单呀。接下来介绍下如何下载文件,也很简单。

./node node_modules/webtorrent-cli/bin/cmd.js download "magnet:?xt=urn:btih:9CB256E03390D87F606D526BEB3B31FFF4DFBBC6"

图形化的 webtorrent 更简单,键鼠操作即可,这里就不做介绍了。

推荐阅读