An open API service indexing awesome lists of open source software.

https://github.com/its-alex/torrent-search

🔎 NodeJS module to search over some torrent source for movies or series
https://github.com/its-alex/torrent-search

async nodejs npm-package rarbg yts

Last synced: about 1 month ago
JSON representation

🔎 NodeJS module to search over some torrent source for movies or series

Awesome Lists containing this project

README

          

# Torrent search

Module to find some movies or series from torrent source
## How to get
```shell
npm install https://github.com/Its-Alex/torrent-search
```
or
```shell
yarn add https://github.com/Its-Alex/torrent-search
```
## How to use
```javascript
let TorrentSearch = require('torrent-search')
const ts = new TorrentSearch()

let imdbID = 'tt123456'
let title = 'Deadpool'

ts.getTorrents(imdbID, title, 'movies' || 'series').then(torrents => {
console.log(torrents)
}).catch(err => console.log(err))
```
Torrents are sort by priority of providers define in file for each source