Disable Orion
This commit is contained in:
parent
d261a3baab
commit
eab55c8368
5272
pnpm-lock.yaml
5272
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
|
@ -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(() => {
|
||||||
|
|
Loading…
Reference in New Issue