Cómo solucionar error en partes del link de Filemoon

Armandolqr Seguir

Gamma
Verificación en dos pasos desactivada
Verificado por Whatsapp
¡Usuario con pocos negocios! ¡Utiliza siempre saldo de Forobeta!
Desde
11 Ago 2020
Mensajes
251
me trae mal algunas partes del link de filemoon
ahi video


este es el codigo


<?php

$filelink="https://filemoon.sx/d/y5r9di46t7ia/Wza3q.aaa.mp4";
if (strpos($filelink,"filemoon.") !== false) {
if (preg_match('/(\/\/[\.\d\w\-\.\/\\\:\?\&\#\%\_\,]*(\.(srt|vtt)))/', $filelink, $s))
$srt="https:".$s[1];
require_once("JavaScriptUnpacker.php");
require_once ("tear.php");
$ua="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $filelink);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_USERAGENT, $ua);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION ,1);
curl_setopt($ch, CURLOPT_ENCODING,"");
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 15);
curl_setopt($ch, CURLOPT_TIMEOUT, 25);
$h = curl_exec($ch);
curl_close($ch);

$out="";
if (preg_match("/eval\(function\(p,a,c,k,e,[r|d]?/",$h)) {
$jsu = new JavaScriptUnpacker();
$out = $jsu->Unpack($h);
}

if (preg_match("/sources\:\[\{file\:\"([^\"]+)\"/",$out,$m))
$link=$m[1];
if ($link && $flash <> "flash")
$link=$link."";
}
echo $link;
?>

<style>
@keyframes fadeIn {
0% { opacity: 0; transform: translateY(-20px); }
100% { opacity: 1; transform: translateY(0); }
}

@keyframes letterAppear {
0% { opacity: 0; transform: translateY(-20px); }
100% { opacity: 1; transform: translateY(0); }
}

.loading-content {
font-size: 30px;
font-family: 'Netflix Sans', Arial, sans-serif;
color: #02cf32;
animation: fadeIn 1s ease forwards, repeatLetters 3s linear infinite;
opacity: 0;
}

.loading-content span {
display: inline-block;
opacity: 0;
animation: letterAppear 0.5s ease forwards;
animation-delay: calc(0.1s * var(--index));
}

@keyframes repeatLetters {
0% { opacity: 1; }
50% { opacity: 0; }
100% { opacity: 1; }
}
</style>
<!-- Loading section -->
<div class="loader_bg" id="loader_bg" style="position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.8); display: flex; justify-content: center; align-items: center; z-index: 9999;">
<div class="loader" style="display: flex; flex-direction: column; align-items: center;">
<div id="image-container" style="width: 300px;"></div>

<div class="loading-content">
<span data-text-preloader="C" style="--index: 1;">C</span>
<span data-text-preloader="A" style="--index: 2;">A</span>
<span data-text-preloader="R" style="--index: 3;">R</span>
<span data-text-preloader="G" style="--index: 4;">G</span>
<span data-text-preloader="A" style="--index: 5;">A</span>
<span data-text-preloader="N" style="--index: 6;">N</span>
<span data-text-preloader="D" style="--index: 7;">D</span>
<span data-text-preloader="O" style="--index: 8;">O</span>
</div>
</div>
</div>
</div>

<script>
// Agrega la imagen dinámicamente utilizando JavaScript
document.addEventListener("DOMContentLoaded", function() {
var imageContainer = document.getElementById("image-container");
var img = new Image();
img.src = "https://github.com/Armando287/Ing.I.../nezuko.271a0cd5e0fb16d0e242ef724d3d7488.webp";
img.alt = "#";
img.style.width = "100%";
imageContainer.appendChild(img);
});



});


</script>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>

<script type="text/javascript">
$(window).load(function() {
$("#loader_bg").fadeOut("slow");
});
</script>



<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>

<script>
// Función para mostrar el loader
function showLoader() {
$("#loader_bg").fadeIn("slow");
}

// Función para ocultar el loader
function hideLoader() {
$("#loader_bg").fadeOut("slow");
}

// Lógica para simular la carga y mostrar el loader
function simulateLoading() {
showLoader(); // Mostrar el loader
setTimeout(function() {
hideLoader();
}, 10000); // Tiempo de carga simulado: 6 segundos (6000 milisegundos)
}

// Mostrar el loader al hacer clic en el botón de alternar
$('.btn-stream').on('click', function() {
simulateLoading();
});
</script>























<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="UTF-8"/>
<title>StreamTape</title>
<meta name="robots" content="noindex" />
<META NAME="GOOGLEBOT" CONTENT="NOINDEX" />
<meta name="referrer" content="never">
<meta name="robots" content="nofollow, noindex">
<meta http-equiv="X-UA-Compatible" content="IE=11" />
<meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no" id="viewport" name="viewport">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<link href="https://cdn.rawgit.com/ufilestorage/a/master/skins/jw-logo-bar.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="https://cdn.rawgit.com/ufilestorage/a/master/jquery-2.2.3.min.js"></script>
<script src="https://ssl.p.jwpcdn.com/player/v/8.13.0/jwplayer.js"></script>
<script>jwplayer.key="64HPbvSQorQcd52B8XFuhMtEoitbvY/EXJmMBfKcXZQU2Rnn";</script>
<style type="text/css">body,html{margin:0;padding:0}#uplay_player{position:absolute;width:100%important!;height:100%important!;border:none;overflow:hidden;}</style>
</head>
<body>
<div id="uplay_player"></div>
<script type="text/javascript">
var videoPlayer = jwplayer("uplay_player");
videoPlayer.setup({
sources: [{'file':'<?=$link?>','type':'video/mp4'}],
width: "100%",
height: "100%",
controls: true,
displaytitle: false,
flashplayer: "https://p.jwpcdn.com/player/v/7.12.8/jwplayer.flash.swf",
fullscreen: "true",
primary: "html5",
autostart: false,
image:'<?php echo $cover; ?>',
advertising: {
client: "vast",
tag: ""
},
tracks: [{
file: "<?php echo $sub; ?>",
label: "Subs",
kind: "captions",
default: "true",
}],
captions: {
color: "#FFFF00",
fontSize: 14,
edgeStyle: "uniform",
backgroundOpacity: 0,
},
logo: {
file: "",
logoBar: "",
position: "top-left",
link: ""
},
aboutlink:"",
abouttext:"",
sharing: {
//code: encodeURI("<iframe width=\"640\" height=\"380\" src=\"empty-url\" frameborder=\"0\" scrolling=\"no\"></iframe>"),
},
});
videoPlayer.on("ready",function() {
jwLogoBar.addLogo(videoPlayer);
});
videoPlayer.addButton(
"https://raw.githubusercontent.com/ufilestorage/img/master/download.png",
"Download Movie",

function(){
window.open(videoPlayer.getPlaylistItem()["file"]+"","_blank").blur();
//window.location.href = jwplayer().getPlaylistItem()['file"];
}, "download"
);

</script>

</script>
</body>
</html>
 

aex studio

Gamma
Verificación en dos pasos desactivada
Verificado por Whatsapp
¡Usuario con pocos negocios! ¡Utiliza siempre saldo de Forobeta!
Desde
25 Ago 2021
Mensajes
204
Cual es el error en si?
 

aex studio

Gamma
Verificación en dos pasos desactivada
Verificado por Whatsapp
¡Usuario con pocos negocios! ¡Utiliza siempre saldo de Forobeta!
Desde
25 Ago 2021
Mensajes
204
Por lo que reviso, si obtiene el Enlace m3u8 de forma correcta incluso lo puedes reproducir mientras la ip del cookies coincida, por ejemplo si ejecutas el script de forma local te reproduce el video sin ningún problema, sin embargo si lo subes a un servidor, no funcionara por que el m3u8 esta protegido necesitas hacer algo como un proxy inverso cosas que desconozco como hacer, ya que llevo meses tratando de saber como hacer eso
 

Armandolqr

Gamma
Verificación en dos pasos desactivada
Verificado por Whatsapp
¡Usuario con pocos negocios! ¡Utiliza siempre saldo de Forobeta!
Desde
11 Ago 2020
Mensajes
251
Por lo que reviso, si obtiene el Enlace m3u8 de forma correcta incluso lo puedes reproducir mientras la ip del cookies coincida, por ejemplo si ejecutas el script de forma local te reproduce el video sin ningún problema, sin embargo si lo subes a un servidor, no funcionara por que el m3u8 esta protegido necesitas hacer algo como un proxy inverso cosas que desconozco como hacer, ya que llevo meses tratando de saber como hacer eso
te paso el script
 

Adjuntos

  • Filemoon-Link-Direct-main (1).zip
    5,2 KB · Visitas: 6

¡Regístrate y comienza a ganar!

Beneficios

  • Gana dinero por participar
  • Gana dinero por recomendarnos
  • Descubre ofertas de empleo diariamente
  • Negocios seguros
  • ¡Información premium y más!

Acceder

¿Ya tienes una cuenta? Accede aquí

Arriba