Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nb557 committed Dec 6, 2024
1 parent 9b309ad commit 7337def
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions online_mod.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
if (name === 'rezka2') return user_proxy2;
if (name === 'kinobase') return proxy_apn;
if (name === 'collaps') return proxy_other ? proxy_secret : proxy_apn;
if (name === 'cdnmovies') return proxy_other ? proxy_secret : proxy_apn;
if (name === 'cdnmovies') return user_proxy2;
if (name === 'filmix') return proxy_secret_ip || user_proxy1;
if (name === 'videodb') return user_proxy2;
if (name === 'fancdn') return user_proxy3;
Expand Down Expand Up @@ -3546,8 +3546,10 @@
prox_enc += 'param/Origin=' + encodeURIComponent(host) + '/';
prox_enc += 'param/Referer=' + encodeURIComponent(ref) + '/';
prox_enc += 'param/User-Agent=' + encodeURIComponent(user_agent) + '/';
prox_enc += 'enc/aXAyNjA2OjQ3MDA6MzAzMTo6NjgxNTo0NmQ5Lw%3D%3D/';
}

var prox_stream = '';
var embed = 'https://cdnmovies-stream.online/';
var filter_items = {};
var choice = {
Expand Down Expand Up @@ -3732,7 +3734,7 @@
return {
label: item.label,
quality: quality ? parseInt(quality[1]) : NaN,
file: component.proxyLink(link, prox, '')
file: component.proxyLink(link, prox_stream, '')
};
});
items.sort(function (a, b) {
Expand Down Expand Up @@ -3792,7 +3794,7 @@
if (prefer_mp4) url = url.replace(/(\.mp4):hls:manifest\.m3u8$/i, '$1');

if (url) {
element.stream = component.proxyLink(url, prox, '');
element.stream = component.proxyLink(url, prox_stream, '');
element.qualitys = false;
call(element);
} else error();
Expand Down Expand Up @@ -3859,7 +3861,7 @@
if (prefer_http) link = link.replace('https://', 'http://');
return {
label: item.label,
url: component.processSubs(component.proxyLink(link, prox, ''))
url: component.processSubs(component.proxyLink(link, prox_stream, ''))
};
});
return subtitles.length ? subtitles : false;
Expand Down

0 comments on commit 7337def

Please sign in to comment.