mirror of
https://github.com/vega-org/vega-providers.git
synced 2026-04-17 23:51:44 +00:00
Reapply "feat: add extractors bundled in file refactor stream handling in multiple providers"
This reverts commit ef46918fec.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user