Skip to content
This repository has been archived by the owner on Dec 3, 2019. It is now read-only.

Latest commit

 

History

History
59 lines (54 loc) · 1.36 KB

README.md

File metadata and controls

59 lines (54 loc) · 1.36 KB

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
  • Then run
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 torrents in queue
        --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