ملفات Pydroid+php
3.52K subscribers
60 photos
20 videos
41 files
165 links
Download Telegram
رابط البوت @AITitansBot
راح يعجبكم محد مسوي نفس هاي الفكرة.
👍5💋2👎1🥰1🤩1
import requests
import telebot
import re
import json
from io import BytesIO

TOKEN = 'توكن'
bot = telebot.TeleBot(TOKEN)

@bot.message_handler(func=lambda message: 'يوت' in message.text)
def search_and_download_audio(message):
    search_query = message.text.replace('يوت ', '').strip()
    msg = bot.send_message(message.chat.id, "جار التحميل...", reply_to_message_id=message.message_id)
   
    get = requests.get(f"https://www.youtube.com/results?q={search_query}")
   
    match = re.search(r'ytInitialData[^{]*(.*?);\s*<\/script>', get.text)
    if match:
        data = json.loads(match.group(1))
        items = data['contents']['twoColumnSearchResultsRenderer']['primaryContents']['sectionListRenderer']['contents'][0]['itemSectionRenderer']['contents']
       
        if items:
            video = items[0]['videoRenderer']
            video_url = f"https://www.youtube.com/watch?v={video['videoId']}"
            api_url = f"http://api.freewebhostmost.com/YouTube.php?url={video_url}"
           
            response = requests.get(api_url)
            data = response.json()
            if 'audio_url' in data:
                audio_response = requests.get(data['audio_url'])
                audio_file = BytesIO(audio_response.content)
                title = video['title']['runs'][0]['text']
                audio_file.name = f"{title}.mp3"
                bot.delete_message(message.chat.id, msg.message_id)
                bot.send_audio(message.chat.id, audio_file, caption=f"تم التحميل: {title}", reply_to_message_id=message.message_id)

bot.polling(none_stop=True)


تحميل يوتيوب
2👍1👏1😁1
This media is not supported in your browser
VIEW IN TELEGRAM
الحوثي مايرحم 🤣.

رابط البوت. @AITitansBot
🔥21
99% من بوتات التلكرام مال ناس خوات كحبه
ليش خوات كحبه
لان مثل بوت تحميل تحمل شي يوصل للمطور وهيج كل البوتات ماعرف شيحسون 🤣.
🤣21👍1
معلومات تيك توك بدون توقف دائمي وبدون حظر.+ تكدر تخلي يطلع بعد هواي معلومات

تفاعل حتئ انشره.
5👍2🔥1👏1🤩1💯1
تم تحديث بوت وتغير محتوى اكو تعديلات بل مستقبل بحث بل صور واضافة روابط مباشر للمشاهدة

يوزر البوت:- @W_AN1BOT
ملفات Pydroid+php
تم تحديث بوت وتغير محتوى اكو تعديلات بل مستقبل بحث بل صور واضافة روابط مباشر للمشاهدة يوزر البوت:- @W_AN1BOT
يعني منو يتابع انمي انت سكران حتئ هيج بوتات محد يكلبهن مو ناجحه انشر كود شي 🤣
import telebot
import requests
from telebot import types

bot = telebot.TeleBot('توكن بوتك')

def parse_number(value):
if 'm' in value:
return float(value.replace('m', '')) * 1000000
elif 'k' in value:
return float(value.replace('k', '')) * 1000
elif 'b' in value:
return float(value.replace('b', '')) * 1000000000
else:
return float(value)

@bot.message_handler(commands=['start'])
def start(message):
bot.reply_to(message, f"• مرحبا عزيزي {message.from_user.first_name} في بوت معلومات تيك توك!\n- يمكنك البحث عن أي حساب باستخدام اسم المستخدم فقط.", reply_markup=types.InlineKeyboardMarkup().add(types.InlineKeyboardButton("قناة البوت", url="https://t.me/LL_php")))

@bot.message_handler(func=lambda message: True)
def get_user_info(message):
username = message.text.lstrip('@')
search_message = bot.reply_to(message, '🔍 جارِ البحث عن الحساب...')
url = f'http://158.69.251.105:5000/tiktok_api?username={username}'

try:
response = requests.get(url).json()
if 'username' in response:
likes, followers = parse_number(str(response.get('likes', 0))), parse_number(str(response.get('followers', 0)))
engagement_rate = (likes / followers) * 100 if followers > 0 else 0

text = f"""
🧑‍💻 اسم المستخدم: {response.get('username', 'ماكو')}
🏷️ الاسم: {response.get('name', 'ماكو')}
🗓️ تم إنشاء الحساب بتاريخ: {response.get('account_created', 'ماكو')}
👥 المتابعين: {response.get('followers', 'ماكو')}
🔄 المتابَعون: {response.get('following', 'ماكو')}
السيرة الذاتية: {response.get('bio', 'ماكو')}
🌍 البلد: {response.get('country', 'ماكو')}
❤️ الإعجابات: {response.get('likes', 'ماكو')}
🔒 الحساب خاص: {'نعم' if response.get('private_account') else 'لا'}
🌎 رمز البلد: {response.get('region', 'أي')}
🆔 الايدي: {response.get('id', 'ماكو')}
🎥 مقاطع الفيديو: {response.get('videos', 'أي')}
الحساب موثق: {'نعم' if response.get('verified') else 'لا'}
📊 نسبة التفاعل: {engagement_rate:.2f}%
"""
if (photo := response.get('profile_picture')):
bot.edit_message_media(media=types.InputMediaPhoto(photo, caption=text, parse_mode='Markdown'), chat_id=message.chat.id, message_id=search_message.message_id)
else:
bot.edit_message_text(text, chat_id=message.chat.id, message_id=search_message.message_id, parse_mode='Markdown')
else:
bot.edit_message_text('مالكيت الحساب.', chat_id=message.chat.id, message_id=search_message.message_id)
except Exception:
bot.edit_message_text('للاسف اكو مشكلة.', chat_id=message.chat.id, message_id=search_message.message_id)

bot.polling()

كود معلومات تيك توك
3👍2
TikTok_user_informationbot.py
3 KB
ملف بوت معلومات تيك توك مربوط ب api دائمي.
3🤩2🔥1
ايبي صنع صور بذكاء الاصطناعي شتريد يصنع

http://imgapi.ct.ws/img/api.php?text=ميسي
3
كود يدزلك ترجمه الفيديو ع يوتيوب يختصرلك.
حمل مكتبه youtube_transcript_api

الكود

from youtube_transcript_api import YouTubeTranscriptApi
import re

url = input("انطيني رابط الفيديو: ")
match = re.search(r"(?:v=|youtu\.be/|shorts/)([a-zA-Z0-9_-]+)", url)

if match:
v_id = match.group(1)
lang = input("انطيني رمز اللغة كمثال ar للعربية: ")
try:
transcript = YouTubeTranscriptApi.get_transcript(v_id, languages=[lang])
print("النص المستخرج:\n" + ' '.join([t['text'] for t in transcript]))
except:
print(f"الترجمة ماكو باللغة {lang}.")
3👍1🔥1😁1
انفك حظر بايبال من العراق
3🍾2
import requests

API_KEY = "sk_d09bd8d48d2bc7292df2d74360fdad455f5f81a5a1ea7aee"
VOICE_ID = "iP95p4xoKVk53GoZ742B"

text = input("Enter text to convert to speech: ")

URL = f"https://api.elevenlabs.io/v1/text-to-speech/{VOICE_ID}"
HEADERS = {
"Accept": "audio/mpeg",
"xi-api-key": API_KEY,
"Content-Type": "application/json"
}
DATA = {
"text": text,
"model_id": "eleven_multilingual_v1",
"voice_settings": {"stability": 1, "similarity_boost": 1}
}

response = requests.post(URL, headers=HEADERS, json=DATA)

if response.ok:
with open("output.mp3", "wb") as f:
f.write(response.content)
print("Audio saved as output.mp3")
else:
print("Error:", response.text)


كود تحويل النص الئ صوت مثل البشر بذكاء الاصطناعي بس المشكله محدود. انت سوي اشتراك مدفوع بدون حدود + تكدر تخلي الصوت انثئ واصوات هواي حتئ استنساخ الصوت.
3
Audio
مثال الصوت.
3
اشاقة المهم رمضان كريم
😁4🤩2👏1🥴1
كود يغادر القنوات بحسابك.

import telethon.sync
import os
import asyncio
from telethon.tl.functions.channels import LeaveChannelRequest

async def leave_channels():
async with telethon.TelegramClient('V26', 2152457, '1fe0f7db2b60a91e897b531c425b286') as client:
await client.start()
os.system('clear')

dialogs = await client.get_dialogs()

for dialog in dialogs:
if dialog.is_channel:
try:
await client(LeaveChannelRequest(dialog.id))
print(f"- تم مغادرة القناة: {dialog.name}")
except Exception as e:
print(f"- اكو مشكلة بمغادرة {dialog.name}: {e}")

print("✓ تم مغادرة جميع القنوات بنجاح.")


asyncio.run(leave_channels())
2