在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).

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java InputStream对象在声明后关闭   java未定义名为“transactionManager”的bean重命名transactionManager   java“jar”命令何时会拒绝将类添加到java中。jar文件?   java JPA标准依赖WHERE子句   安卓中从SD卡读取文本文件时出现java错误   java直接启用类似位置的权限   使用@WebMvcTest和Mockito-BDDMockito对SpringBoot-RestController进行java测试   java JSESSIONID存储在哪里?   java jtextarea鼠标事件覆盖容器鼠标事件   java DRL无法解析动态加载的类   java是从一个方法返回多个对象的最简单方法   java自定义按钮/编辑框是否不可见?   java GUI如何在保存用户输入的同时在面板或框架之间切换   swing Java自定义JSlider不会更新   GridBagLayout中的java超过1个JPanel   java从ProjectReactor中的flux中采样除第一个元素外的所有元素   Java泛型和泛型类型   Java代码生成宽指令的jvm