mirror of
https://github.com/sussy-code/providers.git
synced 2026-04-18 23:22:09 +00:00
Disabled warezcdn enbeds
This commit is contained in:
parent
9b9fbc625f
commit
0c7f65edb6
3 changed files with 5 additions and 1 deletions
|
|
@ -38,6 +38,7 @@ export async function getDecryptedId(ctx: EmbedScrapeContext) {
|
|||
const allowanceKey = page.match(/let allowanceKey = "(.*?)";/)?.[1];
|
||||
if (!allowanceKey) throw new NotFoundError('Failed to get allowanceKey');
|
||||
|
||||
// this endpoint is removed hence the method no longer works
|
||||
const streamData = await ctx.proxiedFetcher<string>('/functions.php', {
|
||||
baseUrl: warezcdnPlayerBase,
|
||||
method: 'POST',
|
||||
|
|
|
|||
|
|
@ -21,6 +21,8 @@ async function getVideowlUrlStream(ctx: EmbedScrapeContext, decryptedId: string)
|
|||
export const warezcdnembedHlsScraper = makeEmbed({
|
||||
id: 'warezcdnembedhls', // WarezCDN is both a source and an embed host
|
||||
name: 'WarezCDN HLS',
|
||||
// method no longer works
|
||||
disabled: true,
|
||||
rank: 83,
|
||||
async scrape(ctx) {
|
||||
const decryptedId = await getDecryptedId(ctx);
|
||||
|
|
|
|||
|
|
@ -25,8 +25,9 @@ async function checkUrls(ctx: EmbedScrapeContext, fileId: string) {
|
|||
export const warezcdnembedMp4Scraper = makeEmbed({
|
||||
id: 'warezcdnembedmp4', // WarezCDN is both a source and an embed host
|
||||
name: 'WarezCDN MP4',
|
||||
// method no longer works
|
||||
rank: 82,
|
||||
disabled: false,
|
||||
disabled: true,
|
||||
async scrape(ctx) {
|
||||
const decryptedId = await getDecryptedId(ctx);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue