Reapply "feat: add extractors bundled in file refactor stream handling in multiple providers"

This reverts commit ef46918fec.
This commit is contained in:
Himanshu
2026-02-03 21:42:43 +05:30
parent ef46918fec
commit 8c91327af1
220 changed files with 1300 additions and 771 deletions

View File

@@ -1,4 +1,5 @@
import { ProviderContext, Stream } from "../types";
import { superVideoExtractor } from "../extractors/supeVideo";
export const getStream = async function ({
link: id,
@@ -10,8 +11,7 @@ export const getStream = async function ({
providerContext: ProviderContext;
}): Promise<Stream[]> {
try {
const { axios, cheerio, extractors, commonHeaders } = providerContext;
const { superVideoExtractor } = extractors;
const { axios, cheerio, commonHeaders } = providerContext;
async function ExtractGuardahd({
imdb, // type, // season,
}: // episode,