fix: update Hollywood filter in catalog and bump versions in manifest to 1.6 and 1.2

This commit is contained in:
Himanshu
2026-01-18 14:39:48 +05:30
parent ad2dc20581
commit f3ef54c713
5 changed files with 12 additions and 12 deletions

View File

@@ -37,7 +37,7 @@ export async function getStream({
hubdriveLink =
$('h3:contains("1080p")').find("a").attr("href") ||
redirectLinkText.match(
/href="(https:\/\/hubcloud\.[^\/]+\/drive\/[^"]+)"/
/href="(https:\/\/hubcloud\.[^\/]+\/drive\/[^"]+)"/,
)[1];
if (hubdriveLink.includes("hubdrive")) {
const hubdriveRes = await axios.get(hubdriveLink, { headers, signal });
@@ -52,7 +52,7 @@ export async function getStream({
const hubcloudText = hubdriveLinkRes.data;
const hubcloudLink =
hubcloudText.match(
/<META HTTP-EQUIV="refresh" content="0; url=([^"]+)">/i
/<META HTTP-EQUIV="refresh" content="0; url=([^"]+)">/i,
)?.[1] || hubdriveLink;
try {
return await hubcloudExtracter(hubcloudLink, signal);
@@ -77,14 +77,14 @@ const pen = function (value: string) {
(_0x1a470e <= "Z" ? 90 : 122) >=
(_0x1a470e = _0x1a470e.charCodeAt(0) + 13)
? _0x1a470e
: _0x1a470e - 26
: _0x1a470e - 26,
);
});
};
const abortableTimeout = (
ms: number,
{ signal }: { signal?: AbortSignal } = {}
{ signal }: { signal?: AbortSignal } = {},
) => {
return new Promise((resolve, reject) => {
if (signal && signal.aborted) {
@@ -105,10 +105,10 @@ const abortableTimeout = (
export async function getRedirectLinks(
link: string,
signal: AbortSignal,
headers: any
headers: any,
) {
try {
const res = await fetch(link, { headers, signal });
const res = await fetch(link, { signal });
const resText = await res.text();
var regex = /ck\('_wp_http_\d+','([^']+)'/g;
@@ -160,7 +160,7 @@ function rot13(str: string) {
const isUpperCase = char <= "Z";
const baseCharCode = isUpperCase ? 65 : 97;
return String.fromCharCode(
((charCode - baseCharCode + 13) % 26) + baseCharCode
((charCode - baseCharCode + 13) % 26) + baseCharCode,
);
});
}