magnetio / src /const.js
oimerts's picture
Update src/const.js
21bf47f verified
Raw History Blame Contribute Delete
935 Bytes
export const ERROR = {
EXPIRED_API_KEY: 'Expired API key',
ACCESS_DENIED: 'Access denied',
TWO_FACTOR_AUTH: 'Two factor authentication required',
NOT_PREMIUM: 'Premium account required',
NOT_READY: 'Torrent not ready',
INVALID_API_KEY: 'Invalid API key'
};
export const VIDEO_EXTENSIONS = [
'.mp4', '.mkv', '.avi',
'.mov', '.wmv', '.flv',
'.webm', '.m4v', '.ts'
];
export const STREAM_SOURCES = {
OIMERTS_YBT: {
url: 'https://oimerts-ybt.hf.space',
name: 'YourBitTorrent'
},
OIMERTS_1337: {
url: 'https://oimerts-1337.hf.space',
name: '1337x'
},
OIMERTS_KNABEN: {
url: 'https://oimerts-knaben.hf.space',
name: 'Knaben'
},
OIMERTS_TZ2: {
url: 'https://oimerts-tz2-js.hf.space',
name: 'TorrentZ2'
},
OIMERTS_TCSV: {
url: 'https://oimerts-tcsv.hf.space',
name: 'Torrents-CSV'
},
};