Skip validation for whvx

This commit is contained in:
TPN 2024-07-09 08:34:32 +01:00
parent 5f643819a0
commit d45d3fec89
1 changed files with 8 additions and 1 deletions

View File

@ -1,10 +1,17 @@
import { alphaScraper, deltaScraper } from '@/providers/embeds/nsbx'; import { alphaScraper, deltaScraper } from '@/providers/embeds/nsbx';
import { warezcdnembedMp4Scraper } from '@/providers/embeds/warezcdn/mp4'; import { warezcdnembedMp4Scraper } from '@/providers/embeds/warezcdn/mp4';
import { astraScraper, novaScraper } from '@/providers/embeds/whvx';
import { Stream } from '@/providers/streams'; import { Stream } from '@/providers/streams';
import { IndividualEmbedRunnerOptions } from '@/runners/individualRunner'; import { IndividualEmbedRunnerOptions } from '@/runners/individualRunner';
import { ProviderRunnerOptions } from '@/runners/runner'; import { ProviderRunnerOptions } from '@/runners/runner';
const SKIP_VALIDATION_CHECK_IDS = [warezcdnembedMp4Scraper.id, deltaScraper.id, alphaScraper.id]; const SKIP_VALIDATION_CHECK_IDS = [
warezcdnembedMp4Scraper.id,
deltaScraper.id,
alphaScraper.id,
novaScraper.id,
astraScraper.id,
];
export function isValidStream(stream: Stream | undefined): boolean { export function isValidStream(stream: Stream | undefined): boolean {
if (!stream) return false; if (!stream) return false;