ملفات Pydroid+php
3.52K subscribers
60 photos
20 videos
41 files
165 links
Download Telegram
بوت تنزيل افتارات اجانب
انمي اي شي تريد ينزل 🤨🔥
قم بمشاركة البوت : @FTRTTBOT
ملفات Pydroid+php
استضافة بوتات بايثون مجانيه تشغل بوتات ديسكورد تلكرام يمكن تشغل ماجربتها لان تحتاج تسجيل بحساب ديسكورد رابط الاستضافه https://bot-hosting.net/ @LL_php
عمي استضافه فول كل يوم تكدر تجمع 10 عملات جمعتهن بدقيقه وكل 10 عملات تضل الاستضافه شغاله اسبوع يعني هذني ال 10 عملات تخلي بوتك 6 ايام شغال وترجع تجمع بعد هم 10 ويضل شغال هواي +تشغل لغه بايثون وبعد 6 لغات ثانيه

رابط الاستضافة

https://bot-hosting.net/

المصدر @LL_php
👍4
m.py
4.9 KB
سوي ملف اسمه config.py

خلي بي التوكن هنا بدل BOT_TOKEN

هيج
token = 'BOT_TOKEN'
2
<?php



$data = init('test.mp3');
print_r($data);


function get_csrf_cookie(){
try{
$curl = curl_init();
curl_setopt_array($curl,[
CURLOPT_URL => 'https://www.aha-music.com/identify-songs-music-recognition-online/',
CURLOPT_HEADER => 1,
CURLOPT_RETURNTRANSFER => 1,
]);
$content = curl_exec($curl);
curl_close($curl);
preg_match('/_token" value="([^"\']+)/',$content,$csrf);
preg_match_all('/set-cookie: ([^;]+)/',$content,$cookie);
return isset($csrf[1]) ? ['LL_php' => $csrf[1] , 'LL_php_s' => implode('; ',$cookie[1])] : null;
}
catch (\Exception $ex){
return null;
}
}

function upload_file(string $path_to_file){
$csrf_cookie = get_csrf_cookie();
if (!$csrf_cookie) return 'Something is went wrong !';
$post = [
'files[]' => new CURLFile($path_to_file),
'_token' => $csrf_cookie['LL_php']
];
$curl = curl_init();
curl_setopt_array($curl,[
CURLOPT_URL => 'https://www.aha-music.com/identify-songs-music-recognition-online/upload',
CURLOPT_POST => 1,
CURLOPT_COOKIE => $csrf_cookie['LL_php_s'],
CURLOPT_POSTFIELDS => $post,
CURLOPT_RETURNTRANSFER => 1
]);
$res = curl_exec($curl);
return json_decode($res,1)['files'][0]['acrid'];
}

function init(string $path_to_file) : array{
$id = upload_file($path_to_file);
$content = file_get_contents("https://www.aha-music.com/identify-songs-music-recognition-online/upload/$id");
preg_match('/artist: "([^"]+)/',$content,$artist);
preg_match('/song: "([^"]+)/',$content,$song);
return isset($artist[1]) ? ['success' => 1 ,'file_name' => $path_to_file, 'artist' => $artist[1] , 'song' => $song[1]] : ['success' => 0 ,'file_name' => $path_to_file, 'message' => 'no result'];
}

كود يتعرف على الموسيقى من خلال تحميل ملف صوتي
<?php
ob_start();
error_reporting(0);
date_default_timezone_set("Asia/Baghdad");
header("Content-Type: application/json; charset=UTF-8");
$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://instagram-post-and-reels-downloader.p.rapidapi.com/main/?url=" . $_GET['url'],
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-RapidAPI-Host: instagram-post-and-reels-downloader.p.rapidapi.com",
"X-RapidAPI-Key: " // يجب وضع مفتاح RapidAPI هنا https://rapidapi.com/shahzodomonboyev0/api/instagram-post-and-reels-downloader
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
$data = json_decode($response, true);
echo json_encode($data, JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES);
}
?>

تحميل انستا
import logging
import time,re,json
from aiohttp import ClientSession
import aiohttp
from bs4 import BeautifulSoup
import random
import asyncio
import json
import requests
import unicodedata
import urllib3

def random_ip():
ips = ['46.227.123.', '37.110.212.', '46.255.69.', '62.209.128.', '37.110.214.', '31.135.209.', '37.110.213.'];
prefix = random.choice(ips)
return prefix + str(random.randint(1, 255))

class Downloads():
async def instagram(url):
result = []
RES = {}
data = {'q': url, 'vt': 'home'}
headers = {
'origin': 'https://snapinsta.io',
'referer': 'https://snapinsta.io/',
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36',
'X-Forwarded-For': random_ip(),
'X-Client-IP': random_ip(),
'X-Real-IP': random_ip(),
'X-Forwarded-Host': 'snapinsta.io'
}
base_url = 'https://snapinsta.io/api/ajaxSearch'
async with ClientSession() as session:
async with session.post(base_url, data=data, headers=headers) as response:
# encoded_text = unicodedata.normalize('NFKD', await response.text()).encode('ascii', 'ignore')
# soup = BeautifulSoup(encoded_text, 'html.parser')
jsonn = json.loads(await response.text())
print(jsonn)
if jsonn['status'] == 'ok':
data = jsonn['data']
soup = BeautifulSoup(data, 'html.parser')
for i in soup.find_all('div', class_='download-items__btn'):
url = i.find('a')['href']
result.append({'url': url})
RES = {'status': True, 'result': result}
else:
RES = {'status': False, 'result': 'Error'}
print(json.dumps(RES, ensure_ascii=False, indent=4))
loop = asyncio.get_event_loop()
loop.run_until_complete(Downloads.instagram('https://www.instagram.com/p/CvPnxhKKt3R/?igshid=OGY3MTU3OGY1Mw=='))

هذا هم
from pyrogram import Client

# معلومات حسابك
api_id = 43436475
api_hash = '3245yjnhdfsghrj7rju6ery5twwrf'
app = Client(
"my_bot",
api_id=api_id,
api_hash=api_hash
)

app.start()

while True:
from_chat_id = -1001577697954 #ايدي المجموعه الي تخمط اعضاء منها
my_chat_id = -1001825384988 #ايدي المجموعه الي تضيف بيها الاعضاء
members = []
for member in app.get_chat_members(from_chat_id):
members.append(member.user.id)

app.add_chat_members(chat_id=my_chat_id, user_ids=members)

app.run()


كود خمط اعضاء
👍2
🔥31
استضافة مجانية تشغل جميع لغات البرمجة بايثون و php وغيرها هواي
الرابط stackblitz.com

مشاركة للقناة حتئ انزل بعد استضافات
@LL_php
9🔥5👍3🖕3🥰2❤‍🔥1👏1😁1😍1
اكو ناس تنشر بوتات تحكم بالارقام ترا هاي نغوله يخمطون حساباتكم لو يسوون بوتات رشق بحساباتكم.
🖕83👍1
<?php

if (isset($_GET['image'])) {
    $userAgent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36';
//By @LL_php
    $searchQuery = urlencode($_GET['image']);
    $searchUrl = "https://www.google.com/search?q=$searchQuery&tbm=isch";
//By @LL_php
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, $searchUrl);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($ch, CURLOPT_USERAGENT, $userAgent);
//By @LL_php
    $html = curl_exec($ch);
//By @LL_php
    curl_close($ch);
//By @LL_php
    preg_match_all('/<img[^>]+src="([^">]+)"/', $html, $matches);
    $imageUrls = $matches[1];

    $imageResults = array();

    foreach ($imageUrls as $imageUrl) {
        $imageResults[] = $imageUrl;
    }

   
    header('Content-Type: application/json');
echo json_encode($imageResults, JSON_UNESCAPED_SLASHES);

}
?>

ايبي البحث عن الصور بالكوكل.

@LL_php
🙈43
<?php
header("Content-Type: application/json");
$dev="@LL_php";
if($_GET["name"]){
$url = file_get_contents("https://www.brandcrowd.com/maker/logos?text=".$_GET["name"]."&isFromRootPage=true#show-onboarding-modal");
$count = explode('</picture>',$url);
for($i=1;$i<count($count)-1;$i++){
preg_match_all('#srcset="(.*?),#',$url,$logo);
$logos = str_replace("amp;","",$logo[1][$i]);
$info[] = [
"logo"=>$logos,
"dev"=> $dev,
];
}
echo json_encode($info, JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES);
}
?>

ايبي صنع لوكو

@LL_php
1
<?php
error_reporting(-8);
$php = str_replace("@",null,$_GET["user"]);
if($php){

$Req = file_get_contents("https://t.me/".$php);

preg_match('/<meta\s+property="\']og:title["\']\s+content=["\'["\']\s*\/?>/i', $Req, $NAME);
preg_match('/<meta\s+property="\']og:image["\']\s+content=["\'["\']\s*\/?>/i', $Req, $IMAGE);
preg_match('/<meta\s+property="\']og:site_name["\']\s+content=["\'["\']\s*\/?>/i', $Req, $SiteName);
preg_match('/<meta\s+property="\']og:description["\']\s+content=["\'["\']\s*\/?>/i', $Req, $BioAcc);

$Bio = $BioAcc[1];
$Onsite = $SiteName[1];
$name = $NAME[1];
$img = $IMAGE[1];
if(preg_match('/Telegram: Contact/',$name)){die("حدثت خطأ: الحساب غير موجود");}
echo "الاسم: ".$name."<br>";
echo "النبذة: ".$Bio."<br>";
echo "الحساب على: ".$Onsite."<br>";
echo "رابط الصورة: ".$img."<br>";
echo "قناتي: @LL_php";
}
?>

معلومات حساب تلكرام

@LL_php
1👍1
P.php
6 KB
كود لعبة الروليت. جديد

@LL_php
1
<?php
$admin = 'ايدي';
$token = 'توكن';
function bot($method, $datas = [])
{
global $token;
$url = "https://api.telegram.org/bot" . $token . "/" . $method;
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $datas);
$res = curl_exec($ch);
if (curl_error($ch)) {
var_dump(curl_error($ch));
} else {
return json_decode($res);
}
}

$update = json_decode(file_get_contents('php://input'));
$message = $update->message;
$mid = $message->message_id;
$type = $message->chat->type;
$text = $message->text;
$cid = $message->chat->id;
$uid = $message->from->id;
$gname = $message->chat->title;
$name = $message->from->first_name;
$repid = $message->reply_to_message->from->id;
$repname = $message->reply_to_message->from->first_name;
$username = $message->from->username;
$cusername = $message->chat->username;
$repmid = $message->reply_to_message->message_id;
$data = $update->callback_query->data;
$cmid = $update->callback_query->message->message_id;
$ccid = $update->callback_query->message->chat->id;
$cuid = $update->callback_query->message->from->id;
$qid = $update->callback_query->id;
$ctext = $update->callback_query->message->text;
$callfrid = $update->callback_query->from->id;
$callfname = $update->callback_query->from->first_name;
$calltitle = $update->callback_query->message->chat->title;
$calluser = $update->callback_query->message->chat->username;
$channel = $update->channel_post;
$channel_text = $channel->text;
$channel_mid = $channel->message_id;
$channel_id = $channel->chat->id;
$channel_user = $channel->chat->username;
$chanel_doc = $channel->document;
$chanel_vid = $channel->video;
$chanel_mus = $channel->audio;
$afile_id = $channel_mus->file_id;
$chanel_voi = $channel->voice;
$chanel_gif = $channel->animation;
$chanel_fot = $channel->photo;
$caption = $channel->caption;

$message = $update->message;
$tx = $message->text;
$cid = $message->chat->id;
$uid = $message->from->id;
$ty = $message->chat->type;
$name = $message->from->first_name;
$mid = $message->message_id;
$channel = $update->channel_post;
$channel_text = $channel->text;
$channel_mid = $channel->message_id;
$channel_id = $channel->chat->id;
$emolar = '🔥';
mkdir("like");

if ($text == "/start") {
bot('SendMessage', [
'chat_id' => $cid,
'text' => "👋مرحبًا <b>$name</b>",
'parse_mode' => 'html'
]);
}

if ($channel_text) {
$tokenn = uniqid("true");

bot('editMessageReplyMarkup', [
'chat_id' => $channel_id,
'message_id' => $channel_mid,
'inline_query_id' => $qid,
'reply_markup' => json_encode([
'inline_keyboard' => [
[['text' => "$emolar", 'callback_data' => "$tokenn=🔥"]],
],
]),
]);
}

if (mb_stripos($data, "=") !== false) {
$ex = explode("=", $data);
$calltok = $ex[0];
$emoj = $ex[1];
$mylike = file_get_contents("like/$calltok.dat");

if (mb_stripos($mylike, "$callfrid") !== false) {
bot('answerCallbackQuery', [
'callback_query_id' => $qid,
'text' => "عذرًا، قد قمت بإعطاء صوت من قبل!",
'show_alert' => true,
]);
} else {
file_put_contents("like/$calltok.dat", "$mylike$callfrid=$emoj");
$value = file_get_contents("like/$calltok.dat");
$lik = substr_count($value, "🔥");

bot('editMessageReplyMarkup', [
'chat_id' => $ccid,
'message_id' => $cmid,
'inline_query_id' => $qid,
'reply_markup' => json_encode([
'inline_keyboard' => [
[['text' => "$emolar $lik", 'callback_data' => "$calltok=🔥"]],
],
]),
]);
}
}

if (mb_stripos($data, "$calltok=🔥") !== false) {
bot('answerCallbackQuery', [
'callback_query_id' => $qid,
'text' => "🔥",
'show_alert' => false,
]);
}

كود يضيف زر تصويت ع كل منشور جديد بالقناة .

@LL_php
👍3🔥3
<?php
$text = $_GET['text'];
$birth_date = new DateTime($text);
$current_date = new DateTime();
$diff = $birth_date->diff($current_date);
$years = $diff->y;
$months = $diff->y * 12 + $diff->m;
$weeks = floor($diff->days / 7);
$days = $diff->days;
$hours = $diff->h + ($diff->days * 24);
$minutes = $diff->i + ($diff->days * 24 * 60);
$seconds = $diff->s + ($diff->days * 24 * 60 * 60);

$result = [
'منذ ميلادك',
'العمر: ' . $years,
'الشهور: ' . $months,
'الأسابيع: ' . $weeks,
'الأيام: ' . $days,
'الساعات: ' . $hours,
'الدقائق: ' . $minutes,
'الثواني: ' . $seconds
];

header('Content-type: application/json');
echo json_encode($result);
?>

@LL_php
1🔥1
if($text == "/start"){
$getlink = file_get_contents("https://api.telegram.org/bot".$token."/createChatInviteLink?chat_id=".$chanel_id."member_limit=1");
$argon = json_decode($getlink, true);
$getlinkde = $argon['result']['invite_link'];

bot('SendMessage', [
'chat_id' => $cid,
'text' => "تم إنشاء الرابط بنجاح! \n $getlinkde",
]);
}
?>
@LL_php
🔥3
بوت الافتارات ينزل اي صورة تريدها بس ادخل ابحث عليها
@FTRTTBOT
🔥1