无数据
订阅者
-924 小时
-637 天
-18230 天
帖子存档
from rich.console import Console
from rich.panel import Panel
from rich.progress import Progress
from rich.style import Style
import requests
import webbrowser
import time
console = Console()
main_style = Style(color="gold1", bold=True)
secondary_style = Style(color="deep_sky_blue1", italic=True)
error_style = Style(color="red", bold=True)
success_style = Style(color="green_yellow", bold=True)
# بانر تيك توك – تم تصميمه ليملأ الشاشة
BANNER = '''
▜▛ █ 🅺 ▜▛ ██ 🅺 '''
def main():
console.clear()
console.print(Panel.fit(BANNER, style="bold purple", title="Tik Tok"), justify="center")
with Progress(transient=True) as progress:
task = progress.add_task("[gold1]جاري التهيئة...", total=100)
while not progress.finished:
progress.update(task, advance=0.5)
time.sleep(0.02)
try:
link = console.input(f"\n🎵 [bold cyan]أدخل الرابط: [/]")
with console.status("[bold gold1]جاري معالجة الطلب...", spinner="dots"):
url = "https://zefoypanel.com/api4.php"
params = {'url': link}
# إرسال الطلب واستقبال الرد على شكل JSON
response = requests.get(
url,
params=params,
headers={'User-Agent': 'Mozilla/5.0'}
).json()
result_url = response.get('download_music_url', '')
console.print(f"\n✅ [bold green]تم التنفيذ بنجاح![/]\n")
console.print(Panel.fit(
f"[bold cyan]الرابط الناتج:[/]\n[link={result_url}]{result_url}[/]",
style=success_style,
title="𓋼 النتيجة"
))
webbrowser.open(result_url)
except Exception as e:
console.print(f"\n❌ [red]حدث خطأ:[/] {str(e)}", style=error_style)
if __name__ == "__main__":
main()
اداه بسيطه للتحميل من تيك توك تقدر تستخدمها في بوتك او اي استخدام عموما 🔥✅كورسات مجانية لتعلم الجافا بالعربية على Udemy 🏦
1- JAVA BASIC v1 الأساسيات في جافا
🔗https://www.udemy.com/course/java-basic-v1/
2- Object Oriented Programming using Java in Arabic (Free)
🔗https://www.udemy.com/.../object-oriented-programming.../
3- Java for beginners - اساسيات الجافا للمبتدئين (Programming)
🔗https://www.udemy.com/course/ajm4k-java-beginners/
4- Java Fundamental Programming [Arabic]
🔗https://www.udemy.com/.../java-fundamental-programming.../
5- البرمجة الغرضية الموجهة - Object-Oriented Programming
🔗https://www.udemy.com/course/object-oriented-programming-q/
اول مره احس ان الذكاء الاصطناعي بيوفر عليا ساعات، نموذج جوجل الجديد ده فاجر، تخيل بحطله فيديو ساعه في مثلا عشر نصايح للنجاح، يقلي العشر نصايح في عشر ثواني 😂
