ملفات Pydroid+php
3.52K subscribers
60 photos
20 videos
41 files
165 links
Download Telegram
🤭.
🤣4👍1
<?php
header("Content-Type: application/json; charset=UTF-8");
$url = $_GET['url'];

$html = file_get_contents('https://t.me/s/'.$url);

$dom = new DOMDocument();
$dom->loadHTML($html);

$xpath = new DOMXPath($dom);

$subscriber_element = $xpath->query('//div[@class="tgme_channel_info_counter"][1]/span[@class="counter_value"]')->item(0)->nodeValue;
$photos_element = $xpath->query('//div[@class="tgme_channel_info_counter"][2]/span[@class="counter_value"]')->item(0)->nodeValue;
$videos_element = $xpath->query('//div[@class="tgme_channel_info_counter"][3]/span[@class="counter_value"]')->item(0)->nodeValue;
$files_element = $xpath->query('//div[@class="tgme_channel_info_counter"][4]/span[@class="counter_value"]')->item(0)->nodeValue;
$links_element = $xpath->query('//div[@class="tgme_channel_info_counter"][5]/span[@class="counter_value"]')->item(0)->nodeValue;

if($subscriber_element == null){
$subscriber = "غير متوفر!";
}else{
$subscriber = $subscriber_element;
}

if($photos_element == null){
$photos = "غير متوفر!";
}else{
$photos = $photos_element;
}

if($videos_element == null){
$videos = "غير متوفر!";
}else{
$videos = $videos_element;
}

if($files_element == null){
$files = "غير متوفر!";
}else{
$files = $files_element;
}

if($links_element == null){
$links = "غير متوفر!";
}else{
$links = $links_element;
}

$res = array(
'result'=>[
'المشتركين'=>$subscriber,
'الصور'=>$photos,
'الفيديوهات'=>$videos,
'الملفات'=>$files,
'الروابط'=>$links,
]);

if($url == null){
$result['result']="حدث خطأ ما!";
}else{
$result = $res;
}

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

?>


@LL_php
import requests
from colorama import Fore, Style, init

init(autoreset=True)

def get_nasa_mission_details():
url = "https://api.le-systeme-solaire.net/rest/bodies/"

print(f"🚀 Retrieving NASA mission details... 🌌 ")

response = requests.get(url)

ascii_art = """
███╗░░██╗░█████╗░░██████╗░█████╗░
████╗░██║██╔══██╗██╔════╝██╔══██╗
██╔██╗██║███████║╚█████╗░███████║
██║╚████║██╔══██║░╚═══██╗██╔══██║
██║░╚███║██║░░██║██████╔╝██║░░██║
╚═╝░░╚══╝╚═╝░░╚═╝╚═════╝░╚═╝░░╚═╝
"""

if response.status_code == 200:
data = response.json()
missions = data['bodies']

with open('nasa_missions.txt', 'w') as file:
file.write(ascii_art + "\n")
file.write(f"{Fore.GREEN}🚀 NASA Missions:\n\n{Style.RESET_ALL}")

print(ascii_art)
print(f"{Fore.GREEN}🚀 NASA Missions:\n{Style.RESET_ALL}")

for mission in missions:
if 'name' in mission and 'discoveryDate' in mission:
mission_name = mission['name']
discovery_date = mission['discoveryDate']
mission_details = (
f"{Fore.CYAN}🚀 Mission Name: {Fore.YELLOW}{mission_name}\n"
f"{Fore.CYAN}🗓 Discovery Date: {Fore.YELLOW}{discovery_date}\n"
f"{Fore.MAGENTA}🌟--------------------------------------🌟{Style.RESET_ALL}"
)

file.write(f"Mission Name: {mission_name}\nDiscovery Date: {discovery_date}\n\n")
print(mission_details)

print(f"\n{Fore.GREEN} Mission details saved to nasa_missions.txt{Style.RESET_ALL}")
else:
print(f"{Fore.RED} Failed to retrieve mission details{Style.RESET_ALL}")

if name == "main":
get_nasa_mission_details()
bot.sendChatAction(chat_id=message.chat.id, action="typing")

ms = message.text
url = f"https://music-api-rouge-rho.vercel.app/?songname={ms}"

try:
response = HTTP.get(url)
if response.status_code == 200:
data = response.json()
download_link = data["download_link"]

bot.sendDocument(
chat_id=message.chat.id,
document=download_link,
caption="🎶 <b><i>Music downloaded!</i></b> 🎵\n\nEnjoy the beats! 🎧",
parse_mode="HTML"
)
else:
bot.sendMessage(
chat_id=message.chat.id,
text=" <b>Error fetching data from the music API</b>",
parse_mode="HTML"
)
except Exception as e:
bot.sendMessage(
chat_id=message.chat.id,
text=f" <b>Error: {str(e)}</b>",
parse_mode="HTML"
)
bot.sendChatAction(chat_id=message.chat.id, action="typing")
ms = message.text
url = f"https://teraboxvideodownloader.nepcoderdevs.workers.dev/?url={ms}"

try:
response = HTTP.get(url)
if response.status_code == 200:
data = response.json()


resolutions = data["response"][0]["resolutions"]
fast_download_link = resolutions["Fast Download"]
hd_video_link = resolutions["HD Video"]
thumbnail_url = data["response"][0]["thumbnail"]
video_title = data["response"][0]["title"]


tinyurl_api = "http://tinyurl.com/api-create.php?url="
tinyurl_fast_download = tinyurl_api + fast_download_link
tinyurl_hd_video = tinyurl_api + hd_video_link
shortened_fast_download_link = HTTP.get(tinyurl_fast_download).text
shortened_hd_video_link = HTTP.get(tinyurl_hd_video).text


markup = InlineKeyboardMarkup()
markup.row(
InlineKeyboardButton(
text='➡️ Fast Download',
url=shortened_fast_download_link
),
InlineKeyboardButton(
text='▶️ HD Video',
url=shortened_hd_video_link
)
)
markup.row(
InlineKeyboardButton(
text='Developer',
url ='https://t.me/LL_php'
)
)


message_text = f"🎬 <b>Title:</b> {video_title}"


bot.sendPhoto(
chat_id=message.chat.id,
photo=thumbnail_url,
caption=message_text,
parse_mode="HTML",
reply_markup=markup
)
else:
bot.sendMessage(
chat_id=message.chat.id,
text=" <b>Error fetching data from Terabox API</b>",
parse_mode="HTML"
)
except Exception as e:
bot.sendMessage(
chat_id=message.chat.id,
text=f" <b>Error: {str(e)}</b>",
parse_mode="HTML"
)
🤮1
منصه جديده جايه تجمع نقاط منه وكل نقطه ينحسب $ عليه تسحبه ورا مايصير عمله ويصير سعر عملته غاليه
https://t.me/hamster_kombAt_bot/start?startapp=kentId5559430159
👎2🥰1
شني هاي هذا يحجي صدك بس الزوج يستخدم بوته 🤣.
🤣161❤‍🔥1
This media is not supported in the widget
VIEW IN TELEGRAM
This media is not supported in the widget
VIEW IN TELEGRAM
<?php
function captureScreenshot($url) {
    $apiUrl = 'https://api.pikwy.com/';
    $queryParams = http_build_query([
        'tkn' => '125',
        'd' => '3000',
        'u' => $url,
        'fs' => '0',
        'w' => '1280',
        'h' => '1200',
        's' => '100',
        'z' => '100',
        'f' => 'jpg',
        'rt' => 'jweb',
    ]);
    $fullUrl = $apiUrl . '?' . $queryParams;
    $options = [
        'http' => [
            'header' => "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7\r\n" .
                        "Accept-Encoding: gzip, deflate, br, zstd\r\n" .
                        "Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7,uz;q=0.6\r\n" .
                        "Cache-Control: max-age=0\r\n" .
                        "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36\r\n",
            'method' => 'GET',
        ],
    ];
    $context = stream_context_create($options);
    $result = file_get_contents($fullUrl, false, $context);

    if ($result === FALSE) {
        return "Error capturing screenshot.";
    }

    return $result;
}

$url = isset($_GET['url']) ? $_GET['url'] : null;
$response = captureScreenshot($url);

echo $response;
?>

#سكرين للمواقع
#@LL_php
1
واحد يتورط يرفع بوت عربي بقناة
يعني الاذاعات بعد ماتوكف
😁4
import requests

def add_order(url, service_id, quantity="100"):
data = {
"key": "2d9309e1eae3df98355b8a0ebf853983",
"action": "add",
"link": url,
"quantity": quantity,
"service": service_id
}
res = requests.post("https://smmxpepo.shop/api/v2", data=data).text
print(f"Order Response: {res}")

def main():
print("أهلا بك! يمكنك طلب الخدمة عبر إرسال الرابط واختيار نوع الخدمة:")
print("1. مشاهدات انستكرام")
print("2. لايكات انستكرام")
print("3. تفاعلات تليجرام")
print("4. مشاهدات تلجرام")

service_choice = input("اختر نوع الخدمة بالرقم: ")
url = input("أدخل رابط المنشور: ")

if service_choice == "1":
add_order(url, "1031")
elif service_choice == "2":
add_order(url, "1032", quantity="10")
elif service_choice == "3":
add_order(url, "1034", quantity="10")
elif service_choice == "4":
add_order(url, "1033", quantity="25")
else:
print("الرجاء اختيار رقم صحيح لنوع الخدمة.")

print("تم طلب الخدمة بنجاح.")

if name == "main":
main()
@LL_php
👍3
ملفات Pydroid+php
l.py
ع شكل ملف بدون مشاكل.
import requests
from bs4 import BeautifulSoup


def send_request(url):
response = requests.get(url)
return response.json()


search_value = input("ادخل النص المراد البحث عنه: ")


search_value_encoded = requests.utils.quote(search_value)


search_url = f"https://poetry.dctabudhabi.ae/api/search?pageNumber=1&pageSize=30&searchValue={search_value_encoded}&searchType=poem"


response = send_request(search_url)


print("الاقتباسات:")
items = response.get('result', {}).get('items', [])
quote_number = 1
for item in items:
content = item.get('content', [])
for part in content:
partA = BeautifulSoup(part.get('partA', ''), 'html.parser').text
partB = BeautifulSoup(part.get('partB', ''), 'html.parser').text
if partA:
print(f"الاقتباس رقم {quote_number} : {partA}")
quote_number += 1
if partB:
print(f"الاقتباس رقم {quote_number} : {partB}")
quote_number += 1
print('---')

##المصدر @LL_php
👍1🔥1
او تكدر تستخدم الايبي هذا
https://poetry.dctabudhabi.ae/api/search?pageNumber=1&pageSize=30&searchValue=بابل&searchType=poem

بدل بابل استخدم النص للبحث
🔥2