forked from highfredo/torrent-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config-sample.js
68 lines (66 loc) · 1.55 KB
/
config-sample.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
/*******
rename to config.js
*******/
var generateFilter = require('./lib/filters/byValue')
var types = require('./lib/types')
var qualities = require('./lib/qualities')
module.exports =
{
database: {
uri: '<URL>:<PORT>/<DATABASE>',
user: '<USER>',
password: '<PASSWORD>'
},
refreshInterval: 60 * 60 * 1000, // En milisegundos
seedbox: {
type: 'transmission',
user: "<transmission user>",
pass: "<transmission pass>",
rpc: "http://<transmission host>:<transmission port>/transmission/rpc"
},
trackers: [{
name: 'hdcity',
url: '<tracker rss url>'
}, {
name: 'hachede',
url: '<tracker rss url>'
}, {
name: 'hdspain',
url: 'https://www.hd-spain.com/index.php?sec=listado',
cookies: [{
name: 'loggnA',
value: '<cookie_value>'
},{
name: 'loggnB',
value: '<cookie_value>'
},{
name: 'lognnI',
value: '<cookie_value>'
},{
name: 'navpreferences',
value: '<cookie_value>'
}]
}, {
name: 'iptorrents',
url: '<tracker rss url>'
}, {
name: 'hdspace',
url: '<tracker rss url>'
}],
gateway: {
type: 'telegram',
token: '<telegram token>',
userId: 0 // <telegram userId>
},
// TViso API is not working
/*info: {
type: 'tviso',
idapi: '<tviso idAPI>',
secret: '<tviso secret>'
}*/
info: {
type: 'trakt-tv',
clientId: '<trakt-tv clientId>',
clientSecret: '<trakt-tv clientSecret>'
}
}