This commit is contained in:
himanshu8443
2025-06-15 21:29:40 +05:30
commit 3f3e12f5df
299 changed files with 18729 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
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,
};