Hello, I would like your help because I'm having the following problem, I'm trying to get the url
of the video from the sendit.cloud site, so I'm facing two problems.
The first problem is that the links generated by sendit.cloud on the download page have a button that only releases the video if you press continue, the data of the source code is also only displayed by pressing this button.
The second problem is that the url
that is inside the source
parameter only works if it passes through the process of input
(of the continue button ...)
I was able to get the parameter using url
of embed
link , on this page the code appears perfectly , plus% w / w of error 404 when loading.
I would like to know if you have any way to correct this problem so that% generated% works.
Below is my code.
<?php
function curl($url) {
$ch = @curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
$head[] = "Connection: keep-alive";
$head[] = "Keep-Alive: 300";
$head[] = "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
$head[] = "Accept-Language: en-us,en;q=0.5";
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36');
curl_setopt($ch, CURLOPT_HTTPHEADER, $head);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_TIMEOUT, 60);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
@curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:'));
$page = curl_exec($ch);
curl_close($ch);
return $page;
}
$url = curl('https://sendit.cloud/me/'.$_GET['id']);
$sendit = explode('<source src="', $url);
$sendit = explode('" type="video/mp4">', $sendit[1]);
?><!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="robots" content="noindex">
<meta name="googlebot" content="noindex">
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>
</head>
<body>
<script src="https://content.jwplatform.com/libraries/fNkNmTXG.js"></script><divid="player_1"></div>
<script type="text/javascript">// <![CDATA[
jwplayer('player_1').setup({
title: "",
image: "",
sources: [{'file':'<?=$sendit[0]?>','type':'video/mp4'}],
mute: "false",
autostart: "false",
repeat: "false",
height: "100%",
width: "100%",
stretching: "uniform",
primary: "html5",
flashplayer:"//cdn.jsdelivr.net/jwplayer/5.10/player.swf",
preload:"metadata",
});
// ]]></script>
</body>
</html>