feat(trackers): basic trackers integration

This commit is contained in:
Alexey Kasyanchuk
2018-08-15 08:22:27 +03:00
parent cff0f11c79
commit 317cfdd3fb
6 changed files with 48 additions and 4 deletions

View File

@ -4,6 +4,8 @@ const cheerio = require('cheerio')
module.exports = class Nyaa
{
name() { return 'nyaa' }
async findHash(hash)
{
this.hash = hash

View File

@ -4,6 +4,8 @@ const cheerio = require('cheerio')
module.exports = class Rutracker
{
name() { return 'rutracker' }
async findHash(hash)
{
this.hash = hash