在osdnmanjaro项目中搜索torrent文件并下载它们。
manjaro-torrent-find的Python项目详细描述
从中读取RSS源osdn.net/projects/manjaro/storage/!rss并解析出 .torrent、.sig、.sha1和.sha256文件。然后它会尝试将它们下载到 当前目录。在
安装
可从pypi获得,因此pip3安装manjaro torrent find–用户就足够了。 然后在$HOME/.local/bin/mtf处有一个新命令,所以将该dir添加到您的路径中。在
使用
一旦本地python脚本目录在您的路径上,只需执行mtf:
Manjaro Torrent Find will scrape osdn.net for Manjaro torrents. Usage: mtf [options] Options: -h this help -o output directory (default: current directory) -p project (either 'manjaro' or 'manjaro-community') (default: both) -r only scrape the OSDN RSS feeds to find the torrent files -t length of time to wait before requesting a new page/file from OSDN (default: 1 second) With `-o` the output directory must already exist, otherwise the current directory is used. `-t` defaults to 1, though it could be a fracion i.e. 0.25 and is amount of time to wait before requesting a new 'thing' from OSDN - this is to ensure that we don't overload the OSDN servers (leave it at 1 second to be nice).
- 项目
标签: