#magnet #cli-tool #torrent #cli

app attractorr

A CLI tool to scrape the web for magnet links

10 releases

0.6.1 Jan 3, 2024
0.6.0 Oct 19, 2023
0.5.3 Jul 11, 2023
0.5.0 Feb 15, 2023
0.4.1 Oct 3, 2022

#333 in Command line utilities

MIT/Apache

32KB
483 lines

Attractorr

GitHub Actions Build Status Crates.io Version Crates.io Downloads AUR version

Attractorr attracts magnets!

It is a tool, written in Rust, to search on various websites and APIs for magnet links.

Supported Websites

  • 1337x
  • YTS
  • piratebay
  • torrent-csv

Building

On Linux, make sure to have openssl installed:

# ArchLinux
$ sudo pacman -S openssl
# Ubuntu
$ sudo apt-get install libssl-dev

Then just use cargo to build

$ cargo build

Install

cargo install attractorr

Distro Packages

Arch Linux

On Arch Linux it is available from the AUR. You can use an AUR helper to install:

paru -S attractorr

Usage

Just execute

$ cargo run "search term"

To search for "search term" in all supported sources.

With --search-providers one may limit the sources:

$ cargo run -- --sort seeders --search-providers yts,pirate-bay,torrent-csv test

Alternatives

Here is a list of projects which do similar things:

License

Licensed under either of

at your option.

Dependencies

~13–29MB
~466K SLoC