This commit is contained in:
himanshu8443
2025-06-16 22:26:38 +05:30
parent 3f3e12f5df
commit 2a4aa2a680
185 changed files with 4645 additions and 3952 deletions

17
providers/ringz/stream.ts Normal file
View File

@@ -0,0 +1,17 @@
import { Stream, ProviderContext } from "../types";
export const getStream = async function ({
link: data,
}: {
link: string;
providerContext: ProviderContext;
}): Promise<Stream[]> {
const streamLinks: Stream[] = [];
const dataJson = JSON.parse(data);
streamLinks.push({
link: dataJson.url,
server: dataJson.server,
type: "mkv",
});
return streamLinks;
};