node-alldebrid
v1.0.0
Published
Alldebrid command line tool
Downloads
4
Readme
node-alldebrid
This project provide a library and a command line interface to use Alldebrid.
Installation
For library using :
$ npm install node-alldebrid --save
For command line tool :
$ npm install -g node-alldebrid
Usage
Library :
const Alldebrid = require('node-alldebrid'); let alldebrid = new Alldebrid(); alldebrid.connect('login', 'password') .then(() => { return alldebrid.debrid('https://mymovie.mkv'); }) .then(link => console.log(link));
Command line tool :
$ export ALLDEBRID_LOGIN=<login> $ export ALLDEBRID_PASSWORD=<password> $ alldebrid <url>
Download or stream video :
$ wget $(alldebrid <url>) # Download $ mpv $(alldebrid <url>) # Video