兼容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工程
本文发布于:2022-12-07 18:34:56,感谢您对本站的认可!
本文链接:https://www.mbdongbo.com/sports/8/288324.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。