0.3.0 |
|
---|---|
0.2.0 |
|
#12 in #magnet
每月下载量 52
30KB
346 代码行
吸引子
吸引子吸引磁力链接!
它是一个使用 Rust 编写的工具,用于在各种网站和 API 上搜索磁力链接。
支持网站
- 1337x
- TYS
- 海盗湾
构建
在 Linux 上,请确保已安装 openssl
# ArchLinux
$ sudo pacman -S openssl
# Ubuntu
$ sudo apt-get install libssl-dev
然后使用 cargo 构建
$ cargo build
安装
cargo install --git https://github.com/rnestler/attractorr
用法
只需执行
$ cargo run "search term"
以在所有支持的来源中搜索 "搜索词"。
使用 --search-providers
可以限制来源
$ cargo run -- --sort seeders --search-providers yts,piratebay test
替代方案
以下是一些执行类似功能的项目的列表
- https://crates.io/crates/tpb
- https://crates.io/crates/torrentfind/
- https://crates.io/crates/nyaadesu
- https://crates.io/crates/ktorrent
- https://crates.io/crates/magnetfinder
- https://crates.io/crates/kickasstorrent
许可协议
许可协议为以下之一
- Apache 许可证 2.0 版,(LICENSE-APACHE 或 https://apache.ac.cn/licenses/LICENSE-2.0)
- MIT 许可证 (LICENSE-MIT 或 http://opensource.org/licenses/MIT)
任选其一。
依赖关系
~13–28MB
~452K SLoC