delete vidjoy

This commit is contained in:
Pas 2025-07-08 12:24:25 -06:00
parent 079ad72860
commit f3d698daf9
2 changed files with 0 additions and 55 deletions

View file

@ -67,7 +67,6 @@ import { slidemoviesScraper } from './sources/slidemovies';
import { soaperTvScraper } from './sources/soapertv';
import { streamboxScraper } from './sources/streambox';
import { vidapiClickScraper } from './sources/vidapiclick';
import { vidjoyScraper } from './sources/vidjoy';
import { warezcdnScraper } from './sources/warezcdn';
import { wecimaScraper } from './sources/wecima';
@ -100,7 +99,6 @@ export function gatherAllSources(): Array<Sourcerer> {
wecimaScraper,
animeflvScraper,
cinemaosScraper,
vidjoyScraper,
];
}

View file

@ -1,53 +0,0 @@
/* eslint-disable no-console */
import { flags } from '@/entrypoint/utils/targets';
import { SourcererOutput, makeSourcerer } from '@/providers/base';
import { MovieScrapeContext } from '@/utils/context';
import { NotFoundError } from '@/utils/errors';
const baseUrl = 'https://mia.vidjoy.wtf';
async function comboScraper(ctx: MovieScrapeContext): Promise<SourcererOutput> {
const apiUrl = `${baseUrl}/movies/${ctx.media.tmdbId}/index.m3u8`;
const streamRes = await ctx.proxiedFetcher.full(apiUrl, {
method: 'GET',
readHeaders: ['content-type'],
headers: {
referer: 'https://spencerdevs.xyz/',
origin: 'https://spencerdevs.xyz',
'User-Agent':
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36',
},
});
if (streamRes.statusCode !== 200) throw new NotFoundError('Failed to fetch video source');
ctx.progress(90);
return {
embeds: [],
stream: [
{
id: 'primary',
type: 'hls',
playlist: `${baseUrl}/movies/${ctx.media.tmdbId}/index.m3u8`,
headers: {
referer: 'https://spencerdevs.xyz/',
origin: 'https://spencerdevs.xyz',
'User-Agent':
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36',
},
flags: [flags.PROXY_BLOCKED],
captions: [],
},
],
};
}
export const vidjoyScraper = makeSourcerer({
id: 'vidjoy',
name: 'Vidjoy',
rank: 185,
flags: [flags.PROXY_BLOCKED],
scrapeMovie: comboScraper,
});