
x32x01
أدارة أكتب كود
- بواسطة x32x01 ||
أنا توصلت بعد تجربة الكثير إلى سكريبت يقوم بتحميل الفيديوهات من اليوتيوب
يمكنك تحميل Playlist كامل بنقرة واحدة فقط
السكريبت يعتمد على مكتبة yt-dlp
وده السكريبت كامل (السر فى البساطة يا شباب)
السكريبت يعمل 100% بتاريخ 4/2025
لو حد عاوز يشاركنى تعليقاته أو عايز يقوم بتطوير السكريبت معى فليتفضل
يمكنك تحميل Playlist كامل بنقرة واحدة فقط
السكريبت يعتمد على مكتبة yt-dlp
Bash:
pip install yt-dlp --break-system-packages
وده السكريبت كامل (السر فى البساطة يا شباب)
السكريبت يعمل 100% بتاريخ 4/2025
Python:
import yt_dlp
import os
playlist_url = input("Enter Your Playlist: ")
output_folder = "YouTube_Downloads"
if not os.path.exists(output_folder):
os.makedirs(output_folder)
ydl_opts = {
'format': 'best[ext=mp4]',
'outtmpl': f'{output_folder}/%(playlist_index)02d_%(title)s.%(ext)s',
'merge_output_format': 'mp4',
'quiet': False,
'no_warnings': False,
}
try:
with yt_dlp.YoutubeDL(ydl_opts) as ydl:
ydl.download([playlist_url])
print("Done!")
except Exception as e:
print(f"ُError: {str(e)}")