3 030
Підписники
-424 години
-197 днів
-8930 днів
Архів дописів
3 029
import requests
link = input('ادخل الرابط')
json_data = {
'url': link
}
res = requests.post('https://insta.savetube.me/downloadPostVideo', json=json_data)
print(res.json())
3 029
import requests
url = 'https://insta.savetube.me/downloadPostVideo?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwYXlsb2FkIjoiVXNlciIsImlhdCI6MTc0NjQyNDc1NiwiZXhwIjoxNzQ2NDI0Nzg2fQ.gnV_wK64aeC9rAIevvxRlLoLix-RAlA_hhoVUyx6QzI'
headers = {
'Accept': '*/*',
'Content-Type': 'application/json',
'User-Agent': 'Mozilla/5.0',
}
video_url = input("ادخل رابط الفيديو")
data = {
'url': video_url
}
response = requests.post(url, headers=headers, json=data)
print(response.json())
تحميل انستكرام مقاطع.
3 029
import os
import re
import zipfile
import telebot
import time
try:
import telebot
except:
os.system("pip install pyTelegramBotAPI")
token = input("Token : ")
bot = telebot.TeleBot(token, skip_pending=True, num_threads=30)
def extract_pack_name(text):
match = re.search(r'https://t\.me/(addstickers|addemoji)/([A-Za-z0-9_]+)', text)
if match:
return match.group(2)
return None
@bot.message_handler(func=lambda message: "https://t.me/add" in message.text)
def handle_pack_link(message):
pack_name = extract_pack_name(message.text)
if not pack_name:
bot.reply_to(message, "ماكدرت أستخرج اسم الحزمة من الرابط.")
return
e = bot.send_message(message.chat.id, "بدأت عملية تحميل الحزمة ....")
try:
sticker_set = bot.get_sticker_set(pack_name)
except:
bot.edit_message_text("ماكدرت أجيب الحزمة، تأكد من الرابط أو الاسم.", chat_id=message.chat.id, message_id=e.message_id)
return
temp_dir = "temp_stickers"
os.makedirs(temp_dir, exist_ok=True)
sticker_files = []
for index, sticker in enumerate(sticker_set.stickers, start=1):
if sticker.is_video:
ext = ".mp4"
elif sticker.is_animated:
ext = ".tgs"
else:
ext = ".webp"
file_path = f"{temp_dir}/{sticker.file_id}{ext}"
file_info = bot.get_file(sticker.file_id)
downloaded_file = bot.download_file(file_info.file_path)
with open(file_path, 'wb') as f:
f.write(downloaded_file)
sticker_files.append(file_path)
bot.edit_message_text(f"جاري التحميل: {index}/{len(sticker_set.stickers)}", chat_id=message.chat.id, message_id=e.message_id)
time.sleep(0.2)
zip_path = f"{temp_dir}/{pack_name}.zip"
with zipfile.ZipFile(zip_path, "w") as zip_file:
for file_path in sticker_files:
zip_file.write(file_path, os.path.basename(file_path))
with open(zip_path, 'rb') as f:
bot.send_document(message.chat.id, f, caption="تم تحميل الحزمة بنجاح")
bot.delete_message(chat_id=message.chat.id, message_id=e.message_id)
for file_path in sticker_files:
os.remove(file_path)
os.remove(zip_path)
time.sleep(1800)
bot.delete_message(chat_id=message.chat.id, message_id=message.message_id)
bot.infinity_polling()
تحميل حزمه ملصقات تلي.
3 029
حصلت مكتبه التحميل مالتها صاروخ مثل بوت ريفن ووعد بس خليت رابط الفيديو يمكن 3 ثواني ونزل ☠
3 029
import requests
url = 'https://armofbots.online/maker/Smsm.php'
headers = {
'authority': 'armofbots.online',
'accept': '*/*',
'accept-language': 'en-US,en;q=0.9',
'cache-control': 'no-cache',
'content-type': 'application/x-www-form-urlencoded',
'origin': 'https://armofbots.online',
'pragma': 'no-cache',
'referer': 'https://armofbots.online/maker/Smsm.php',
'sec-ch-ua': '"Not A(Brand";v="8", "Chromium";v="92"',
'sec-ch-ua-mobile': '?0',
'sec-ch-ua-platform': '"Windows"',
'sec-fetch-dest': 'empty',
'sec-fetch-mode': 'cors',
'sec-fetch-site': 'same-origin',
'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36'
}
data = {'text': 'اكرهك'}
response = requests.post(url, headers=headers, data=data)
print(response.text)
كود سمسمي تكدر تحوله بوت.
3 029
تطبيق جديد يخبل امس تم اطلاقه وصار تحميل 10الف وجاي يصعد صاروخ وبي بوتات تكدر تسوي بس هسه يدعم التسجيل برقم روسي فقط
https://dev.max.ru/docs/chatbots/bots-coding/prepare
