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

This reverts commit 13d41f9da6.
This commit is contained in:
Himanshu
2026-02-02 23:44:25 +05:30
parent 13d41f9da6
commit ef46918fec
220 changed files with 771 additions and 1300 deletions

View File

@@ -2,13 +2,30 @@ import axios from "axios";
import { getBaseUrl } from "./getBaseUrl";
import { headers } from "./headers";
import * as cheerio from "cheerio";
import { hubcloudExtracter } from "./hubcloudExtractor";
import { gofileExtracter } from "./gofileExtracter";
import { superVideoExtractor } from "./superVideoExtractor";
import { gdFlixExtracter } from "./gdflixExtractor";
import { ProviderContext } from "./types";
import Aes from "react-native-aes-crypto";
/**
* Context for provider functions.
* This context is used to pass common dependencies to provider functions.
*/
const extractors = {
hubcloudExtracter,
gofileExtracter,
superVideoExtractor,
gdFlixExtracter,
};
export const providerContext: ProviderContext = {
axios,
getBaseUrl,
commonHeaders: headers,
Aes,
cheerio,
extractors,
};