mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
[addon] updates moch options object
This commit is contained in:
@@ -9,24 +9,28 @@ const { cacheWrapResolvedUrl } = require('../lib/cache');
|
|||||||
|
|
||||||
const RESOLVER_HOST = process.env.RESOLVER_HOST || 'http://localhost:7050';
|
const RESOLVER_HOST = process.env.RESOLVER_HOST || 'http://localhost:7050';
|
||||||
const MOCHS = {
|
const MOCHS = {
|
||||||
'realdebrid': {
|
realdebrid: {
|
||||||
key: 'realdebrid',
|
key: 'realdebrid',
|
||||||
instance: realdebrid,
|
instance: realdebrid,
|
||||||
|
name: "RealDebrid",
|
||||||
shortName: 'RD'
|
shortName: 'RD'
|
||||||
},
|
},
|
||||||
'premiumize': {
|
premiumize: {
|
||||||
key: 'premiumize',
|
key: 'premiumize',
|
||||||
instance: premiumize,
|
instance: premiumize,
|
||||||
|
name: 'Premiumize',
|
||||||
shortName: 'PM'
|
shortName: 'PM'
|
||||||
},
|
},
|
||||||
'alldebrid': {
|
alldebrid: {
|
||||||
key: 'alldebrid',
|
key: 'alldebrid',
|
||||||
instance: alldebrid,
|
instance: alldebrid,
|
||||||
|
name: 'AllDebrid',
|
||||||
shortName: 'AD'
|
shortName: 'AD'
|
||||||
},
|
},
|
||||||
'putio': {
|
putio: {
|
||||||
key: 'putio',
|
key: 'putio',
|
||||||
instance: putio,
|
instance: putio,
|
||||||
|
name: 'Put.io',
|
||||||
shortName: 'Putio'
|
shortName: 'Putio'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@@ -115,4 +119,4 @@ function populateDownloadLinks(streams, mochResults) {
|
|||||||
return streams;
|
return streams;
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = { applyMochs, resolve }
|
module.exports = { applyMochs, resolve, MochOptions: MOCHS }
|
||||||
Reference in New Issue
Block a user