node-t-tracker
API for torrent-trackers
Last updated 2 months ago by timmson .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install node-t-tracker 
SYNC missed versions from official npm registry.

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

...

Current Tags

  • 0.6.8                                ...           latest (2 months ago)

17 Versions

  • 0.6.8                                ...           2 months ago
  • 0.6.7                                ...           10 months ago
  • 0.6.6                                ...           a year ago
  • 0.6.5                                ...           a year ago
  • 0.6.4                                ...           a year ago
  • 0.6.3                                ...           a year ago
  • 0.6.2                                ...           a year ago
  • 0.6.1                                ...           a year ago
  • 0.5.0                                ...           2 years ago
  • 0.4.6                                ...           2 years ago
  • 0.4.5                                ...           2 years ago
  • 0.4.4                                ...           2 years ago
  • 0.4.3                                ...           2 years ago
  • 0.4.2                                ...           2 years ago
  • 0.4.1                                ...           2 years ago
  • 0.4.0                                ...           2 years ago
  • 0.3.8                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 2
Last Day 1
Last Week 0
Last Month 34
Dependencies (4)
Dev Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |