mirror of
https://github.com/vega-org/vega-providers.git
synced 2026-06-19 13:07:44 +00:00
fix: update Joya9tv stream extraction logic
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -322,7 +322,7 @@
|
|||||||
{
|
{
|
||||||
"display_name": "Joya9tv",
|
"display_name": "Joya9tv",
|
||||||
"value": "Joya9tv",
|
"value": "Joya9tv",
|
||||||
"version": "1.6",
|
"version": "1.7",
|
||||||
"icon": "",
|
"icon": "",
|
||||||
"type": "india",
|
"type": "india",
|
||||||
"disabled": false
|
"disabled": false
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ export async function getStream({
|
|||||||
try {
|
try {
|
||||||
const streamLinks: Stream[] = [];
|
const streamLinks: Stream[] = [];
|
||||||
console.log("dotlink", link);
|
console.log("dotlink", link);
|
||||||
if (type === "movie") {
|
if (!link.includes("cloud")) {
|
||||||
// vlink
|
// vlink
|
||||||
const dotlinkRes = await fetch(`${link}`, { headers });
|
const dotlinkRes = await fetch(`${link}`, { headers });
|
||||||
const dotlinkText = await dotlinkRes.text();
|
const dotlinkText = await dotlinkRes.text();
|
||||||
|
|||||||
Reference in New Issue
Block a user