OMG GOOJARA!?!?!?!?!??! EPIC SOURCE!?!?!?!?

This commit is contained in:
MemeCornucopia
2024-01-19 15:19:38 -05:00
parent 198dfdec87
commit bcb1d29218
2 changed files with 20 additions and 11 deletions

View File

@@ -1,5 +1,3 @@
import { load } from 'cheerio';
import { flags } from '@/entrypoint/utils/targets';
import { makeEmbed } from '@/providers/base';
@@ -56,16 +54,22 @@ export const doodScraper = makeEmbed({
stream: [
{
id: 'primary',
type: 'hls',
playlist: downloadURL,
type: 'file',
url: downloadURL,
flags: [flags.CORS_ALLOWED],
captions: [],
qualities: {
unknown: {
type: 'mp4',
url: downloadURL,
preferredHeaders: {
referer: 'https://do0od.com/',
'content-type': 'video/mp4',
range: 'bytes=0-',
},
},
},
},
],
};
}

View File

@@ -47,7 +47,6 @@ export const wootlyScraper = makeEmbed({
const tk = scriptText.split('tk=')[1].split(';')[0].replaceAll('"', '').replaceAll(' ', '');
const vd = scriptText.split('vd=')[1].split(',')[0].replaceAll('"', '').replaceAll(' ', '');
const cv = scriptText.split('cv=')[1].split(',')[0].replaceAll('"', '').replaceAll(' ', '');
const url = await ctx.proxiedFetcher<string>(`/grabd`, {
baseUrl,
@@ -63,10 +62,16 @@ export const wootlyScraper = makeEmbed({
stream: [
{
id: 'primary',
type: 'hls',
playlist: url,
type: 'file',
url,
flags: [flags.CORS_ALLOWED, flags.IP_LOCKED],
captions: [],
qualities: {
unknown: {
type: 'mp4',
url,
},
},
},
],
};