fix showbox

This commit is contained in:
himanshu8443
2025-06-23 21:13:22 +05:30
parent f9906e1964
commit dcf40b6f74
6 changed files with 14 additions and 45 deletions

View File

@@ -1,5 +1,4 @@
import { Stream, ProviderContext } from "../types";
import * as cheerio from "cheerio";
export const getStream = async function ({
link: id,
@@ -13,7 +12,7 @@ export const getStream = async function ({
providerContext: ProviderContext;
}): Promise<Stream[]> {
try {
const { axios } = providerContext;
const { axios, cheerio } = providerContext;
const stream: Stream[] = [];
const [, epId] = id.split("&");
const url = `https://febbox.vercel.app/api/video-quality?fid=${epId}`;