# Raincoat
Raincoat is a CLI tool to search torrents using [Jackett](https://github.com/Jackett/Jackett)'s indexers and send them directly to your client.
### Installation
`pip install raincoat-jackett`
### Requirements
- Python 3.6+
- Jackett and configured indexers
- qBittorrent, Transmission or Deluge (or use local download option)
- libtorrent if you use local downloader and magnet links.
- Arch: `pacman -S libtorrent-rasterbar`
- Ubuntu: `apt-get install python-libtorrent -y`
- Fedora: `dnf install rb_libtorrent-python2`
### Usage
`raincoat "Terms to search"`
#### Parameters
- -k, --key
- Specify a Jackett API key
- -l, --length
- Max number of characters displayed in the "Description" column.
- -L, --limit
- Limits the number of results displayed.
- -c, --config
- Specifies a different config path.
- -s, --sort
- Change the sorting criteria. Valid choices are: 'seeders', 'leechers', 'ratio', 'size' and 'description'. Default/not specified is 'seeders'.
- -i, --indexer
- Change the indexer used for your search, in cases where you want to only search one site. Default is "all".
- -d, --download x
- Grab the first x resultd and send to the client immediately. Defaults to 1.
- -K, --insecure
- Don't verify certificates
- --local
- Force use of "local" file download.
- --list
- Specify a file to load search terms from. One term per line.
- --verbose
- Extra verbose logging sent to log file.
#### Configuration file
Upon installation, a config file is created in your home directory. Before you can use Raincoat, you will need to modify it.
```json
{
"jackett_apikey": "",
"jackett_url": "http://your_base_jackett_url",
"jackett_indexer": "all",
"description_length": 100,
"exclude": "words to exclude",
"results_limit": 20,
"client_url": "http://your_torrent_client_api",
"display": "grid",
"torrent_client": "qbittorrent",
"torrent_client_username": "admin",
"torrent_client_password": "admin",
"download_dir": "/some/directory/"
}
```
- jackett_apikey (string)
- The api key provided by Jackett, found on the dashboard.
- jackett_url (string)
- The base url for your jackett instance. (default: http://127.0.0.1:9117)
- jackett_indexer (string)
- The jackett indexer you wish to use for searches.
- description_length (int)
- The default description length
- exclude (string)
- Words to exclude from your results seperated by a space.
- results_limit (int)
- Max number of lines to show.
- client_url (string)
- The url to your torrent client's API
- display (string)
- The display style of the results table. You can view available choices [here](https://pypi.org/project/tabulate/)
- torrent_client (string)
- Your torrent client. Valid options are: local, qbittorrent, transmission and deluge.
- torrent_client_username (string)
- Your torrent client's login username.
- torrent_client_password
- Your torrent client's login password. Note: Only Transmission accepts empty passwords.
- download_dir
- Where to save the torrent files when using "local" downloader.
# Built with
- requests
- justlog
- colorama
- tabulate
- transmission-clutch
- deluge-client
- python-qbittorrent
All available on Pypi.
# License
This project is licensed under the MIT License
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
资源分类:Python库 所属语言:Python 资源全名:raincoat-jackett-1.3.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
资源推荐
资源详情
资源评论
收起资源包目录
raincoat-jackett-1.3.tar.gz (16个子文件)
raincoat-jackett-1.3
PKG-INFO 5KB
setup.cfg 38B
raincoat_jackett.egg-info
PKG-INFO 5KB
requires.txt 131B
SOURCES.txt 380B
entry_points.txt 53B
top_level.txt 9B
dependency_links.txt 1B
setup.py 2KB
README.md 3KB
raincoat
raincoat.py 10KB
helpers.py 4KB
__init__.py 34B
shared.py 884B
torrent.py 5KB
config.py 201B
共 16 条
- 1
资源评论
挣扎的蓝藻
- 粉丝: 14w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- qaxbrowser-1.1.32574.52.exe (奇安信浏览器windows安装包)
- C#编写modbus tcp客户端读取modbus tcp服务器数据
- 某房地产瑞六补环境部分代码
- 基于Matlab实现无刷直流电机仿真(模型+说明文档).rar
- AllSort(直接插入排序,希尔排序,选择排序,堆排序,冒泡排序,快速排序,归并排序)
- 模拟qsort,改造冒泡排序使其能排序任意数据类型,即日常练习
- carsim+simulink联合仿真实现变道 包含路径规划算法+mpc轨迹跟踪算法 可选simulink版本和c++版本算法 可以适用于弯道道路,弯道车道保持,弯道变道 carsim内规划轨迹可视化
- 数组经典习题之顺序排序和二分查找和冒泡排序
- 永磁同步电机神经网络自抗扰控制,附带编程涉及到的公式文档,方便理解,模型顺利运行,效果好,位置电流双闭环采用二阶自抗扰控制,永磁同步电机三闭环控制,神经网络控制,自抗扰中状态扩张观测器与神经网络结合
- 基于 Oops Framework 提供的游戏项目开发模板,项目中提供了最新版本 Cocos Creator 3.x 插件与游戏资源初始化通用逻辑
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功