0.6.8 • Published 4 years ago

node-t-tracker v0.6.8

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

API for torrent-trackers

(former node-kinozaltv-api)

status codecov codacy version license FOSSA Status

Installation

npm i node-t-tracker

Install "Tor" if needed

Quick example

RutrackerOrg

(inspired by Rutracker API for Node.js)

const request = require("request");
const RuTrackerOrg = require("node-t-tracker").RuTrackerOrg;

const username = "your_username";
const password = "your_password";

//use for Tor connection
const socksProxy = {
    ipaddress: "localhost",
    port: 9050,
    type: 5
};

let ruTrackerOrg = new RuTrackerOrg(username, password, socksProxy, request);
RuTrackerOrg.authenticate().then(
    res => ruTrackerOrg.search({title: "The Big Bang 1080p"}).then(console.log, console.error)
);

KinozalTV

const request = require("request");
const KinozalTv = require("node-t-tracker").KinozalTv;

const username = "your_username";
const password = "your_password";

//use for Tor connection
const socksProxy = {
    ipaddress: "localhost",
    port: 9050,
    type: 5
};


let kinozalTv = new KinozalTv(username, password, socksProxy, request);
kinozalTv.authenticate().then(
    res => kinozalTv.search({
        title: "The Big Bang 1080p",
        year: "2017"
    }).then(console.log, console.error)
);

Methods

Authenticate

...

Search

...

Download

...

0.6.8

4 years ago

0.6.7

5 years ago

0.6.6

5 years ago

0.6.5

5 years ago

0.6.4

5 years ago

0.6.3

5 years ago

0.6.2

5 years ago

0.6.1

5 years ago

0.5.0

6 years ago

0.4.6

6 years ago

0.4.5

6 years ago

0.4.4

6 years ago

0.4.3

6 years ago

0.4.2

6 years ago

0.4.1

6 years ago

0.4.0

6 years ago

0.3.8

6 years ago