mirror of
https://github.com/movie-web/providers.git
synced 2025-09-13 14:53:24 +00:00
OMG GOOJARA!?!?!?!?!??! EPIC SOURCE!?!?!?!?
This commit is contained in:
@@ -1,5 +1,3 @@
|
|||||||
import { load } from 'cheerio';
|
|
||||||
|
|
||||||
import { flags } from '@/entrypoint/utils/targets';
|
import { flags } from '@/entrypoint/utils/targets';
|
||||||
import { makeEmbed } from '@/providers/base';
|
import { makeEmbed } from '@/providers/base';
|
||||||
|
|
||||||
@@ -56,14 +54,20 @@ export const doodScraper = makeEmbed({
|
|||||||
stream: [
|
stream: [
|
||||||
{
|
{
|
||||||
id: 'primary',
|
id: 'primary',
|
||||||
type: 'hls',
|
type: 'file',
|
||||||
playlist: downloadURL,
|
url: downloadURL,
|
||||||
flags: [flags.CORS_ALLOWED],
|
flags: [flags.CORS_ALLOWED],
|
||||||
captions: [],
|
captions: [],
|
||||||
preferredHeaders: {
|
qualities: {
|
||||||
referer: 'https://do0od.com/',
|
unknown: {
|
||||||
'content-type': 'video/mp4',
|
type: 'mp4',
|
||||||
range: 'bytes=0-',
|
url: downloadURL,
|
||||||
|
preferredHeaders: {
|
||||||
|
referer: 'https://do0od.com/',
|
||||||
|
'content-type': 'video/mp4',
|
||||||
|
range: 'bytes=0-',
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
@@ -47,7 +47,6 @@ export const wootlyScraper = makeEmbed({
|
|||||||
|
|
||||||
const tk = scriptText.split('tk=')[1].split(';')[0].replaceAll('"', '').replaceAll(' ', '');
|
const tk = scriptText.split('tk=')[1].split(';')[0].replaceAll('"', '').replaceAll(' ', '');
|
||||||
const vd = scriptText.split('vd=')[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`, {
|
const url = await ctx.proxiedFetcher<string>(`/grabd`, {
|
||||||
baseUrl,
|
baseUrl,
|
||||||
@@ -63,10 +62,16 @@ export const wootlyScraper = makeEmbed({
|
|||||||
stream: [
|
stream: [
|
||||||
{
|
{
|
||||||
id: 'primary',
|
id: 'primary',
|
||||||
type: 'hls',
|
type: 'file',
|
||||||
playlist: url,
|
url,
|
||||||
flags: [flags.CORS_ALLOWED, flags.IP_LOCKED],
|
flags: [flags.CORS_ALLOWED, flags.IP_LOCKED],
|
||||||
captions: [],
|
captions: [],
|
||||||
|
qualities: {
|
||||||
|
unknown: {
|
||||||
|
type: 'mp4',
|
||||||
|
url,
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user