Torrent Grabber
Fast torrent search module for nodejs
List of available trackers
- 1337x
- ThePirateBay
- Nnm
- Rutracker
Installation
$ npm i torrent-grabber
Example Single
Activation needs only once, for checking tracker availability and login
const tg = ; tg;
Example Multiple
const tg = ; const trackersToUse = "1337x" "ThePirateBay" "Nnm" "Rutracker" login: "login" pass: "pass" ; Promiseall trackersToUse; //or async/await async { await PromisealltrackersToUse; const searchResult = await tg; console; const magnetURI = await tg; console;};
API
Activating tracker
tg; //or tg;
Disabling tracker
tg;
Searching
tg;
Get magnetURI
tg;
Authors
- Lennart Le
License
MIT License