mirror of
https://github.com/vega-org/vega-providers.git
synced 2026-04-17 15:41:45 +00:00
fix showbox
This commit is contained in:
@@ -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}`;
|
||||
|
||||
Reference in New Issue
Block a user