go-debrid
Tool written in Go to interact with Alldebrid API
Compilation
- Install the Go compiler suite; e.g. on Fedora:
sudo dnf install golang
- Install libxml2 and libcurl header files
sudo dnf install libxml2-devel libcurl-devel
mkdir /tmp/go
export GOPATH=/tmp/go
go get github.com/usineur/go-debrid
/tmp/go/bin/ will then contain the program binary.
How to use
- Debrid a link supported by Alldebrid, output filename can be rename
--debrid, -d <link> [--output, -o] <filename>
- Add a torrent/magnet, can be used with extra parameters "
--split
" to split files into parts of 1 Gb, and/or "--disable-quick
" to disable quick search of existing torrents in system
--torrent, -t <torrent file> [--split, -s|--disable-quick, -q]
--magnet, -m <magnet link> [--split, -s|--disable-quick, -q]
--list, -l
- Remove a torrent (tip: use "
--list
" and check column "ID" to get the entry to remove)
--remove, -r <torrent id>
- Remove all torrents in queue
--remove-all, -ra
- Download all finished torrents
--download-all, -da
- Display remaining time before account expiration
--remaining-time, -rt
Credits