作为一个搞代码的,找资源这种事肯定不能像普通人一样打开百度盲目查找,你需要写个爬虫工具来帮你完成这件事情啦!
兼容环境
Windows/Linux/MacOs
安装
pip 安装
$ pip install torrent-cli
源码安装
$ git clone https://github.com/chenjiandongx/torrent-cli.git $ cd torrent-cli $ pip install -r requirements.txt $ python setup.py install
如何使用
$ torrent-cli usage: torrent-cli [-h] [-n NUM] [-s SORT_BY] [-o OUTPUT] [-p] [-v] [KEYWORD [KEYWORD ...]] Magnets-Getter CLI Tools. positional arguments: KEYWORD magnet keyword. optional arguments: -h, --help show this help message and exit -n NUM, --num NUM magnet number.(default 10) -s SORT_BY, --sort-by SORT_BY 0: Sort by date,1: Sort by size. 2: Sort by hot- rank.(default 0) -o OUTPUT, --output OUTPUT output file path, supports csv and json format. -p, --pretty-oneline