SAIEDARCHIVES Telegram 250
Forwarded from - 𝐓𝐄𝐀𝐌 𝐒𝐘𝐑𝐈𝐀 🌿🤖 (⁣★ 🇸🇾 𝗠𝗼𝗻𝘀𝘁𝗲𝗿𝗫)
if(preg_match('%(?:youtube(?:-nocookie)?\.com/(?:[^/]+/.+/|(?:v|e(?:mbed)?)/|.*[?&]v=)|youtu\.be/)([^"&?/ ]{11})%i', $text, $getyt)){
$idyt = $getyt[1];
$urlyt = "http://".$getyt[0];
$getinfos = json_decode(file_get_contents("https://projectlounge.pw/ytdl/info?url=".urlencode($urlyt)));
$title = $getinfos->title;
$thumb = end($getinfos->thumbnails)->url;
bot('sendphoto',[
'chat_id'=>$chat_id,
'photo'=>$urlyt,
'caption'=>$title,
'reply_markup'=>json_encode([
'inline_keyboard'=>[
[['text'=>"Video 🎥",'callback_data'=>"vido#$idyt"]],[['text'=>"Voice 🎙",'callback_data'=>"vid#$idyt"]],[['text'=>"Music 🎧",'callback_data'=>"music#$idyt"]],
]]),
'parse_mode'=>"MarkDown",
]);
}
$exi = explode('#',$data);
if($exi[0]=="vid"){
bot('editMessageReplyMarkup',[
'chat_id'=>$update->callback_query->message->chat->id,
'message_id'=>$update->callback_query->message->message_id,
'reply_markup'=>null,
]);
$idyt = $exi[1];
$mid2 = bot('sendmessage',['chat_id'=>$chat_id2,'text'=>"جاري التحميل..."])->result->message_id;
$youtub = "https://projectlounge.pw/ytdl/download?url=http://www.youtube.com/watch?v=$exi[1]&format=251";
file_put_contents($idyt.".ogg",curl_get($youtub));
bot('editmessagetext',[
'chat_id'=>$chat_id2,
'message_id'=>$mid2,
'text'=>"قد لا يتم تحميل الاغنية كانت اكبر من 50MB",
]);
bot('sendvoice',[
'chat_id'=>$chat_id2,
'voice'=>new CURLFile($idyt.".ogg"),
'caption'=>$userbot,
]);
unlink($idyt.".ogg");
}
if($exi[0]=="music"){
bot('editMessageReplyMarkup',[
'chat_id'=>$update->callback_query->message->chat->id,
'message_id'=>$update->callback_query->message->message_id,
'reply_markup'=>null,
]);
$idyt = $exi[1];
$mid2 = bot('sendmessage',['chat_id'=>$chat_id2,'text'=>"جاري التحميل..."])->result->message_id;
$getinfos = json_decode(file_get_contents("https://projectlounge.pw/ytdl/info?url=http://www.youtube.com/watch?v=".urlencode($exi[1])));
$title = $getinfos->title;
$thumb = end($getinfos->thumbnails)->url;
$uploader = $getinfos->uploader;
$duration = $getinfos->duration;
$youtub = "https://projectlounge.pw/ytdl/download?url=http://www.youtube.com/watch?v=$exi[1]&format=251";
file_put_contents($idyt.".jpg",curl_get($thumb));
file_put_contents($idyt.".mp3",curl_get($youtub));
bot('editmessagetext',[
'chat_id'=>$chat_id2,
'message_id'=>$mid2,
'text'=>"قد لا يتم تحميل الاغنية كانت اكبر من 50MB",
]);
bot('sendAudio',[
'chat_id'=>$chat_id2,
'audio'=>new CURLFile($idyt.".mp3"),
'thumb'=>new CURLFile($idyt.".jpg"),
'title'=>$title,
'caption'=>$title."\n".$userbot,
'duration'=>$duration,
'performer'=>$uploader
]);
unlink($idyt.".mp3");
unlink($idyt.".jpg");
}
if($exi[0]=="vido"){
bot('editMessageReplyMarkup',[
'chat_id'=>$update->callback_query->message->chat->id,
'message_id'=>$update->callback_query->message->message_id,
'reply_markup'=>null,
]);
$idyt = $exi[1];
$mid2 = bot('sendmessage',['chat_id'=>$chat_id2,'text'=>"جاري التحميل..."])->result->message_id;
$getinfos = json_decode(file_get_contents("https://projectlounge.pw/ytdl/info?url=http://www.youtube.com/watch?v=".urlencode($exi[1])));
$title = $getinfos->title;
$thumb = end($getinfos->thumbnails)->url;
$uploader = $getinfos->uploader;
$duration = $getinfos->duration;
$youtub = "https://projectlounge.pw/ytdl/download?url=http://www.youtube.com/watch?v=$exi[1]";
file_put_contents($idyt.".jpg",curl_get($thumb));
file_put_contents($idyt.".mp4",curl_get($youtub));
bot('editmessagetext',[
'chat_id'=>$chat_id2,
'message_id'=>$mid2,
'text'=>"قد لا يتم تحميل الفيديو كانت اكبر من 50MB",
]);
bot('sendvideo',[
'chat_id'=>$chat_id2,
'video'=>new CURLFile($idyt.".mp4"),
'thumb'=>new CURLFile($idyt.".jpg"),
'caption'=>$title."\n".$userbot,
'duration'=>$duration,
'supports_streaming'=>true,
]);
unlink($idyt.".mp4");
unlink($idyt.".jpg");
}



تحميل من اليوتيوب ⁦❤️

تقدمة المطور محمد السوري (مونستر) : @J_69_L

القادم اعظم وافضل 🌚❤️

دعواتكم ❤️



tgoop.com/SaiedArchives/250
Create:
Last Update:

if(preg_match('%(?:youtube(?:-nocookie)?\.com/(?:[^/]+/.+/|(?:v|e(?:mbed)?)/|.*[?&]v=)|youtu\.be/)([^"&?/ ]{11})%i', $text, $getyt)){
$idyt = $getyt[1];
$urlyt = "http://".$getyt[0];
$getinfos = json_decode(file_get_contents("https://projectlounge.pw/ytdl/info?url=".urlencode($urlyt)));
$title = $getinfos->title;
$thumb = end($getinfos->thumbnails)->url;
bot('sendphoto',[
'chat_id'=>$chat_id,
'photo'=>$urlyt,
'caption'=>$title,
'reply_markup'=>json_encode([
'inline_keyboard'=>[
[['text'=>"Video 🎥",'callback_data'=>"vido#$idyt"]],[['text'=>"Voice 🎙",'callback_data'=>"vid#$idyt"]],[['text'=>"Music 🎧",'callback_data'=>"music#$idyt"]],
]]),
'parse_mode'=>"MarkDown",
]);
}
$exi = explode('#',$data);
if($exi[0]=="vid"){
bot('editMessageReplyMarkup',[
'chat_id'=>$update->callback_query->message->chat->id,
'message_id'=>$update->callback_query->message->message_id,
'reply_markup'=>null,
]);
$idyt = $exi[1];
$mid2 = bot('sendmessage',['chat_id'=>$chat_id2,'text'=>"جاري التحميل..."])->result->message_id;
$youtub = "https://projectlounge.pw/ytdl/download?url=http://www.youtube.com/watch?v=$exi[1]&format=251";
file_put_contents($idyt.".ogg",curl_get($youtub));
bot('editmessagetext',[
'chat_id'=>$chat_id2,
'message_id'=>$mid2,
'text'=>"قد لا يتم تحميل الاغنية كانت اكبر من 50MB",
]);
bot('sendvoice',[
'chat_id'=>$chat_id2,
'voice'=>new CURLFile($idyt.".ogg"),
'caption'=>$userbot,
]);
unlink($idyt.".ogg");
}
if($exi[0]=="music"){
bot('editMessageReplyMarkup',[
'chat_id'=>$update->callback_query->message->chat->id,
'message_id'=>$update->callback_query->message->message_id,
'reply_markup'=>null,
]);
$idyt = $exi[1];
$mid2 = bot('sendmessage',['chat_id'=>$chat_id2,'text'=>"جاري التحميل..."])->result->message_id;
$getinfos = json_decode(file_get_contents("https://projectlounge.pw/ytdl/info?url=http://www.youtube.com/watch?v=".urlencode($exi[1])));
$title = $getinfos->title;
$thumb = end($getinfos->thumbnails)->url;
$uploader = $getinfos->uploader;
$duration = $getinfos->duration;
$youtub = "https://projectlounge.pw/ytdl/download?url=http://www.youtube.com/watch?v=$exi[1]&format=251";
file_put_contents($idyt.".jpg",curl_get($thumb));
file_put_contents($idyt.".mp3",curl_get($youtub));
bot('editmessagetext',[
'chat_id'=>$chat_id2,
'message_id'=>$mid2,
'text'=>"قد لا يتم تحميل الاغنية كانت اكبر من 50MB",
]);
bot('sendAudio',[
'chat_id'=>$chat_id2,
'audio'=>new CURLFile($idyt.".mp3"),
'thumb'=>new CURLFile($idyt.".jpg"),
'title'=>$title,
'caption'=>$title."\n".$userbot,
'duration'=>$duration,
'performer'=>$uploader
]);
unlink($idyt.".mp3");
unlink($idyt.".jpg");
}
if($exi[0]=="vido"){
bot('editMessageReplyMarkup',[
'chat_id'=>$update->callback_query->message->chat->id,
'message_id'=>$update->callback_query->message->message_id,
'reply_markup'=>null,
]);
$idyt = $exi[1];
$mid2 = bot('sendmessage',['chat_id'=>$chat_id2,'text'=>"جاري التحميل..."])->result->message_id;
$getinfos = json_decode(file_get_contents("https://projectlounge.pw/ytdl/info?url=http://www.youtube.com/watch?v=".urlencode($exi[1])));
$title = $getinfos->title;
$thumb = end($getinfos->thumbnails)->url;
$uploader = $getinfos->uploader;
$duration = $getinfos->duration;
$youtub = "https://projectlounge.pw/ytdl/download?url=http://www.youtube.com/watch?v=$exi[1]";
file_put_contents($idyt.".jpg",curl_get($thumb));
file_put_contents($idyt.".mp4",curl_get($youtub));
bot('editmessagetext',[
'chat_id'=>$chat_id2,
'message_id'=>$mid2,
'text'=>"قد لا يتم تحميل الفيديو كانت اكبر من 50MB",
]);
bot('sendvideo',[
'chat_id'=>$chat_id2,
'video'=>new CURLFile($idyt.".mp4"),
'thumb'=>new CURLFile($idyt.".jpg"),
'caption'=>$title."\n".$userbot,
'duration'=>$duration,
'supports_streaming'=>true,
]);
unlink($idyt.".mp4");
unlink($idyt.".jpg");
}



تحميل من اليوتيوب ⁦❤️

تقدمة المطور محمد السوري (مونستر) : @J_69_L

القادم اعظم وافضل 🌚❤️

دعواتكم ❤️

BY ارشيف


Share with your friend now:
tgoop.com/SaiedArchives/250

View MORE
Open in Telegram


Telegram News

Date: |

Your posting frequency depends on the topic of your channel. If you have a news channel, it’s OK to publish new content every day (or even every hour). For other industries, stick with 2-3 large posts a week. Telegram iOS app: In the “Chats” tab, click the new message icon in the right upper corner. Select “New Channel.” Hui said the time period and nature of some offences “overlapped” and thus their prison terms could be served concurrently. The judge ordered Ng to be jailed for a total of six years and six months. "Doxxing content is forbidden on Telegram and our moderators routinely remove such content from around the world," said a spokesman for the messaging app, Remi Vaughn. The optimal dimension of the avatar on Telegram is 512px by 512px, and it’s recommended to use PNG format to deliver an unpixelated avatar.
from us


Telegram ارشيف
FROM American