alishedri.py
38.9 KB
# manba:@dasturchilide# kanal:@WonderfulCoders
Telefon Sotuvchi Sotib Oluvchi Narxlovchi bor gemi ai ga ulangan
Telefon Sotuvchi Sotib Oluvchi Narxlovchi bor gemi ai ga ulangan
🔥1👏1
Best Random Bot 🎁 [Конкурсный бот для розыгрышей | Рандомайзер]
Результаты конкурса:
Победители:
1. 🅼🅸🆁🅹🅰️🅻🅾️🅻 | 𝟏𝟐:𝟒𝟒 (@MIRJALOLSA)
2. Ibrohimjon (@oripov_i_m)
3. WAXA (@Waxa_l7l)
Проверить результаты
Победители:
1. 🅼🅸🆁🅹🅰️🅻🅾️🅻 | 𝟏𝟐:𝟒𝟒 (@MIRJALOLSA)
2. Ibrohimjon (@oripov_i_m)
3. WAXA (@Waxa_l7l)
Проверить результаты
❤2
Forwarded from FHOST - Надежный Хостинг!
✨ Bizning afzalliklarimiz:⚡️ SSD serverlar – maksimal tezlik va samaradorlik.🔒 Cheksiz bepul SSL sertifikat – sayt xavfsizligi kafolatlangan.🌍 Ko‘p domen qo‘llab-quvvatlash – barcha saytlaringizni bir joyda boshqaring.👩💻 PHP 7.4–8.5 – zamonaviy texnologiyalar bilan mos.👩💻 Python qo'llab quvvatlash🖥 MySql - qo'llab quvvatlash
Please open Telegram to view this post
VIEW IN TELEGRAM
❤6
𝒱𝒪𝐼𝒟
music.py
8.3 KB
usha api bn ishldgan musiqa bot kodi effectlari bor musiqaga qoshishga
🔥4❤2
Ubuntudan boshqa linux distributini ishlatib ko'rmoqchiman qaysini tavsiya berasizlar?
Please open Telegram to view this post
VIEW IN TELEGRAM
❤4🌚2
Ismiz nima ⁉️
Kommentga yozib keting✍️
Kommentga yozib keting
Please open Telegram to view this post
VIEW IN TELEGRAM
PHP codes (2).zip
2.6 MB
Hahahahaha Uzbekh Qaytdi
Manba: no'malum
Tarqatdi: @IslamicCode
Risebuilder ga tushadigan juda kop kodlar bor
Manba: no'malum
Tarqatdi: @IslamicCode
👍2🔥1
<?php
header('Content-Type: application/json');
header('Access-Control-Allow-Origin: *');
header('Cache-Control: no-store');
$inputUrl = $_GET['url'] ?? null;
if (!$inputUrl || strpos($inputUrl, 'instagram.com') === false) {
http_response_code(400);
echo json_encode([
"status" => "nevermind",
"message" => "Instagram url bermaysanmi tupoy"
], JSON_PRETTY_PRINT);
exit;
}
$berilganUrl = urlencode($inputUrl);
$targetUrl = "https://snapdownloader.com/tools/instagram-reels-downloader/download?url={$berilganUrl}";
$ch = curl_init();
curl_setopt_array($ch, [
CURLOPT_URL => $targetUrl,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTPHEADER => [
"User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36",
"Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
"Accept-Language: en-US,en;q=0.5",
"Referer: https://snapdownloader.com/",
"Origin: https://snapdownloader.com",
"Cache-Control: no-cache",
"Pragma: no-cache"
]
]);
$html = curl_exec($ch);
$httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
if (curl_errno($ch)) {
http_response_code(502);
echo json_encode([
"status" => "nevermind",
"message" => "So'rov o'xshamadi copy paster",
"channel" => "@WonderfulCoders"
], JSON_PRETTY_PRINT);
curl_close($ch);
exit;
}
curl_close($ch);
if ($httpCode !== 200) {
http_response_code($httpCode);
echo json_encode([
"status" => "nevermind",
"message" => "api qilingan sayt toshingni ter deyapti",
"channel" => "@WonderfulCoders"
], JSON_PRETTY_PRINT);
exit;
}
preg_match('/<a[^>]+href="([^"]*\.mp4[^"]*)"[^>]*>/i', $html, $videoMatch);
$videoUrl = isset($videoMatch[1]) ? html_entity_decode(urldecode($videoMatch[1])) : '';
preg_match('/<a[^>]+href="([^"]*\.jpg[^"]*)"[^>]*>/i', $html, $thumbMatch);
$thumbUrl = isset($thumbMatch[1]) ? html_entity_decode(urldecode($thumbMatch[1])) : '';
if ($videoUrl && str_contains($videoUrl, '.mp4')) {
echo json_encode([
"status" => "muvaffaqiyatli",
"video" => $videoUrl,
"thumbnail" => $thumbUrl ?: null,
"channel" => "@WonderfulCoders"
], JSON_PRETTY_PRINT);
} else {
http_response_code(404);
echo json_encode([
"status" => "nevermind",
"message" => "Javobda vd toplmadi",
"channel" => "@WonderfulCoders"
], JSON_PRETTY_PRINT);
}
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥2👨💻2😎2👍1