兼容Windows/Macos/Linux
第一种pip安装
pip install torrent-cli
第二种源码安装
git clone https://github.com/chenjiandongx/torrent-cli.git
进入源码目录
cd torrnet-cli
安装所需模块
pip install -r requirements.txt
可以添加个-i使用清华源速度更快
python setup.py install
安装成功,直接运行torrent-cli.py即可
torrent-cli.py 钢铁侠 -o 文件名
导出搜索结果为json或者csv
torrent-cli.py 钢铁侠 -s 1 -p
单行显示并按照文件大小排序
至于-v参数,就是显示版本,就不演示了
需要的可以直接去gitee搜索torrent-cli工程