ملفات Pydroid+php
3.52K subscribers
59 photos
20 videos
41 files
165 links
Download Telegram
شتردون ايبيات
يعني تفضل كلها صارت تن*يج
https://t.me/Niino_2008
💔3😭2
import requests
stories = requests.post("https://storyviewer.com/api/data",
json={
"username": "يوزر الحساب"
}).json()


: Api Instagram Stories Downloader :
Ch :
@LL_PHP :
By :
@xZaeem :
2
import asyncio
from edge_tts import Communicate
from io import BytesIO


#voice="ar-AE-FatimaNeural" انثى اماراتيه
#voice="ar-AE-HamdanNeural" رجل اماراتي
async def text2speech(text, voice="ar-AE-HamdanNeural"):
communicate = Communicate(text=text,
voice=voice,
rate="+10%",
volume="+50%",
pitch="+7Hz")

audio_stream = BytesIO()

async for ch in communicate.stream():
if ch["type"] == "audio":
audio_stream.write(ch["data"])
audio_stream.seek(0)
return audio_stream


async def m(text):
aud_bytes = await text2speech(text)
print(f"'طول البايتات ': {len(aud_bytes.getvalue())}")


text = "محمد الزعيم رقم واحد"
asyncio.run(m(text))


pip install edge_tts

: تحويل الكتابة الى صوت بالذكاء الاصطناعي بأستخدام مكتبة edge_tts :
Ch :
@LL_PHP :
By : @xZaeem :
21
قناة نشر هدايه كسر تلقائي.

@AutomaticGiftsPosting
4👏1
import requests
url = ""
response = requests.post("https://www.clipto.com/api/youtube",
json={"url": url})
print(response.json())

: Api تحميل من جميع المواقع :
: خلي رابط من اي موقع يحمل منه :
Ch :
@LL_PHP :
By :
@xZaeem :
🔥3
import requests

r = requests.get("http://api.smtv.uz/ai/?text=احبك").json()
print(r['answer'])
1
اقترحولنه بوتات api شي جديد ؟
🥰2
شني هاي صعود هدايا التلكرام عمي فول 🤣.
👍2🔥1🥰1👏1
import requests
from bs4 import BeautifulSoup
url ='tik tok url'
m = requests.post("https://tiksave.io/api/ajaxSearch",
data={
'q':url ,
'lang': 'ar'
}).content
soup = BeautifulSoup(m, 'html.parser')
medias = [
a['href'].replace('"', '').replace('\\', '')
for a in soup.find_all("a", href=True)
]
print(medias)


: تحميل فيد و mp3 تيك توك :
2
import requests

url = ''
response = requests.post(
"https://getindevice.com/wp-json/aio-dl/video-data/",
data={'url': url},
headers={
'Origin':
'https://getindevice.com/',
'Referer':
'https://getindevice.com/',
'User-Agent':
'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Mobile Safari/537.36'
})
print(response.json())

: تنزيل من جميع مواقع :
3
اكو واحد اكثر مني ساحب اتصالات مواقع التنزيل ؟
3
عن قريب ينزللكم بوت حذف صور وملصقات اباحية
🔥5
import requests

url = ''
response = requests.post("https://samrt-loader.com/kydwon/api/addfile",
data={'file_name': url})
print(response.json())

: اتصال تحميل من يوتيوب وچم موقع :
: ينطي رابط تخزين بالموقع مو رابط گوگل :
: بس شوي بي تأخير :
:
@LL_PHP :
from rembg import remove
from PIL import Image
import io

def removebackground(image_path, format="PNG"):
with open(image_path, "rb") as f:
input_data = f.read()

output_data = remove(input_data)

img_rgba = Image.open(io.BytesIO(output_data)).convert("RGBA")

byte_io = io.BytesIO()
img_rgba.save(byte_io, format=format)
byte_io.seek(0)

return byte_io.getvalue()


input_file = 'a.jpeg'

image_bytes = removebackground(input_file, format="PNG")

print(f"الحجم: {len(image_bytes)} بايت.")

: Remove Background of Images :
pip install rembg

: @LL_PHP :
3
<?php
header("Content-Type: application/json; charset=UTF-8");

function tiktok($url){
$ch = curl_init('https://downloader.bot/api/tiktok/info');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode(array("url"=>$url)));
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
'Accept: application/json, text/plain, */*',
'Content-Type: application/json',
'User-Agent: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Mobile Safari/537.36',
'Referer: https://downloader.bot/ru'
));

$response = json_decode(curl_exec($ch),true);
$array = array("video"=>$response['data']['mp4']);
return $array;
curl_close($ch);
}

if($_GET['url']==null){
echo "Url kiriting!";
}else{
$data = tiktok($_GET['url']);
echo json_encode($data,JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES);
}
?>

تحميل تيك توك Api
2
import requests

url = "https://chatgpt5free.com/wp-admin/admin-ajax.php"
message = 'كول محمد تاج راسي'
res = requests.post(url, data={'action': 'ai_chat', 'message': message})
data_message = res.json()['data']['message']
print(data_message)

: Api ذكاء اصطناعي ساحبه من موقع ميوگف :
:
@LL_PHP :
import requests, json
c = []
try: c = json.load(open("chat.json"))
except: pass

while 1:
m = input("> ")
c.append({"role":"user","msg":m})
t = "\n".join(f"{i['role']}: {i['msg']}" for i in c)
r = requests.post("https://chatgpt5free.com/wp-admin/admin-ajax.php",data={'action':'ai_chat','message':t}).json()['data']['message']
c.append({"role":"ai","msg":r})
print(r)
json.dump(c, open("chat.json","w"), ensure_ascii=0)

كود الذكاء الاصطناعي صار يتذكر المحادثه تكدر تسوي بوت ويخزن لكل مستخدم.
🥰6