fix: update hubcloud extractor logic and bump versions

This commit is contained in:
Himanshu
2026-06-18 10:45:48 +05:30
parent 040912facd
commit bf84ba9a6d
17 changed files with 46 additions and 33 deletions
+2 -2
View File
@@ -37,13 +37,13 @@ export async function getStream({
try {
const streamLinks: Stream[] = [];
console.log("dotlink", link);
if (type === "movie") {
if (type === "movie" && !link.includes("cloud")) {
// vlink
const dotlinkRes = await axios(`${link}`, { headers });
const dotlinkText = dotlinkRes.data;
// console.log('dotlinkText', dotlinkText);
const vlink = dotlinkText.match(/<a\s+href="([^"]*cloud\.[^"]*)"/i) || [];
// console.log('vLink', vlink[1]);
console.log("vLink", vlink[1]);
link = vlink[1];
// filepress link