Disable Orion

This commit is contained in:
TPN 2024-08-04 17:33:47 +00:00
parent d261a3baab
commit eab55c8368
2 changed files with 3022 additions and 2493 deletions

File diff suppressed because it is too large Load Diff

View File

@ -14,6 +14,7 @@ const providers = [
{ {
id: 'orion', id: 'orion',
rank: 700, rank: 700,
disabled: true,
}, },
]; ];
@ -22,12 +23,12 @@ export const headers = {
Referer: 'https://www.vidbinge.com', Referer: 'https://www.vidbinge.com',
}; };
function embed(provider: { id: string; rank: number }) { function embed(provider: { id: string; rank: number; disabled?: boolean }) {
return makeEmbed({ return makeEmbed({
id: provider.id, id: provider.id,
name: provider.id.charAt(0).toUpperCase() + provider.id.slice(1), name: provider.id.charAt(0).toUpperCase() + provider.id.slice(1),
rank: provider.rank, rank: provider.rank,
disabled: false, disabled: provider.disabled,
async scrape(ctx) { async scrape(ctx) {
let progress = 50; let progress = 50;
const interval = setInterval(() => { const interval = setInterval(() => {