3 176
Subscribers
No data24 hours
-187 days
-9230 days
Posts Archive
3 177
<?php
if($_GET["URL"]) {
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://y2mate.is/analyze?url='. $_GET["URL"] );
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'GET');
curl_setopt($ch, CURLOPT_ENCODING, 'gzip, deflate');
$headers = array();
$headers[] = 'Sec-Ch-Ua: \"Chromium\";v=\"107\", \"Not=A?Brand\";v=\"24\"';
$headers[] = 'Accept: application/json, text/javascript, */*; q=0.01';
$headers[] = 'Referer: https://en.y2mate.is/';
$headers[] = 'Sec-Ch-Ua-Mobile: ?1';
$headers[] = 'User-Agent: Mozilla/5.0 (Linux; Android 10; ART-L29) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Mobile Safari/537.36';
$headers[] = 'Sec-Ch-Ua-Platform: \"Android\"';
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
$result = curl_exec($ch);
if (curl_errno($ch)) {
echo 'Error:' . curl_error($ch);
}
curl_close($ch);
echo $result ;
} else {
echo "Enter Url Please" ;
}
?>
تخمط اذكر المصدر @LL_PHP3 177
<?php
error_reporting(0);
header('Content-type: text/json;charset=utf-8');
$vid = $_GET['vid'];
$quality = isset($_GET['q']) ? $_GET['q'] : '360p';
$type= isset($_GET['type']) ? $_GET['type'] : 'mp4';
if (preg_match('#youtube.com#', $vid)) {
parse_str($vid, $etc);
$vid = $etc['https://www_youtube_com/watch?v'];
if (!$vid) {
$vid = $etc['http://www_youtube_com/watch?v'];
}
} else if (preg_match('#youtu.be#', $vid)) {
$ex = explode("/", $vid);
$vid = $ex[3];
}
if ($type === 'mp3' || $type === 'm4a') {
$quality = (int) 128;
}
if ($quality === '1080p') {
$quality = (int) 1080;
} else if ($quality === '360p') {
$quality = (int) 360;
}
if ($vid) {
$u = "https://www.y2mate.com/mates/analyze/ajax";
$data = array(
'url' => 'https://www.youtube.com/watch?v=' . $vid,
'q_auto' => 1,
'ajax' => 1,
);
$options = array(
'http' => array(
'header' => "Content-type: application/x-www-form-urlencoded\r\n",
'method' => 'POST',
'content' => http_build_query($data)
)
);
$context = stream_context_create($options);
$result = json_decode(file_get_contents($u, false, $context), true)['result'];
function getAjax($result){
$pattrn = '#<img src="(.*?)" (.*?) <b>(.*)<\/b>(.*?) var k__id = (.*?) var#';
preg_match_all($pattrn, $result, $json);
$img = $json[1][0];
$title = $json[3][0];
$rep = preg_replace('#[\";]#', null, $json[5][0]);
$MyNewArray = [
'img' => $img,
'title' => $title,
'v_id' => str_replace("\\", null, $rep),
];
return $MyNewArray;}
$array = getAjax($result);
if (!$array['v_id']) {
die("the v_id is null");
}
function getConvert($array, $vid, $quality = '720p', $type = 'mp4'){
$u = "https://www.y2mate.com/mates/convert";
$data = array(
'type' => 'youtube',
'_id' => $array['v_id'],
'v_id' => $vid,
'ajax' => 1,
'ftype' => (string) $type,
'fquality' => (string) $quality,
);
$options = array(
'http' => array(
'header' => "Content-type: application/x-www-form-urlencoded\r\n",
'method' => 'POST',
'content' => http_build_query($data)
)
);
$context = stream_context_create($options);
$result = file_get_contents($u, false, $context);
$Raq = json_decode($result);
$pattrn = '#<a href="(.*?)" #';
preg_match_all($pattrn, $Raq->result, $json);
$title = $array['title'];
$img = $array['img'];
$Url = $json[1][0];
$headers = get_headers($Url, 1);
$bytes = $headers["Content-Length"];
$finallArray = [
'img' => $img,
'title'=> $title,
'quality' => $quality,
'type' => $type,
'vid' => $vid,
'Bytes'=> (int) $bytes,
'MB' => (float) number_format($bytes / 1048576, 4) . ' MB',
'url' => $Url,
];
return $finallArray;
}
echo json_encode(getConvert($array, $vid, $quality, $type), JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES);
}
تخمط اذكر المصدر @LL_PHP3 177
اي اخوان يمكن صوج الاسضافة ماكو اي طلب خلي اشوفلي استضافة زينه ارفع بيها الايبي
3 177
تشغيل الاداة عن طريقة تطبيق اسمه بايثون اذا ماتعرف شلون اكتب ع يوتيوب كيف تشغيل اكواد بايثون من الهاتف 😏
3 177
import requests
link = input("ادخل رابط المنشور")
for i in range(1, 8001):
url = f"https://dev-createsitename.pantheonsite.io/L/S.php?link={link}/{i}"
response = requests.get(url)
if response.status_code == 200:
print(f"تم إرسال المشاهدات بنجاح للرابط {link}")
else:
print(f"فشل في إرسال المشاهدات للرابط {link}")
اداة رشق مشاهدات تلكرام سرعة الرشق زينه يعني بس يوصل الرشق مايطول 10 دقايق
المصدر @LL_PHP
3 177
اداة رشق مشاهدات بس مو سريعه تفيدكم يعني هيج 3 دقايق اكثر يلا يوصل الرشق بس اقل شي 500الف ترشق بنص ساعه؟
