pH-7 / Download-Simply-Videos-From-YouTube
Python script that downloads and saves any of your favorite YouTube videos and playlists. All you need to do is just run the Python script and follow the terminal prompt.
AI Architecture Analysis
This repository is indexed by RepoMind. By analyzing pH-7/Download-Simply-Videos-From-YouTube in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.
Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.
Repository Overview (README excerpt)
Crawler view๐ฅ Download Any Videos From YouTube **โก๏ธ High-Quality YouTube Video, Playlist & Channel Downloader ๐ฅ** > [!Note] > > #### ๐ The Ultimate YouTube Downloader > > Download any YouTube video, playlist, or entire channel just by pasting a URL. Videos are saved to your computer in high quality โ no account or sign-in needed. **What you can do:** โข ๐ฅ Download any YouTube video as MP4 โข ๐ต Download audio-only as MP3 (great for music and podcasts) โข ๐ Download entire playlists โ each saved in its own numbered folder โข ๐บ Download a whole YouTube channel โข โก Download multiple videos or playlists at the same time โข ๐ Quick Start โข ๐ช Usage โข ๐ต Playlist Downloads โข ๐บ Channel Downloads โข ๐งน Clean Up Incomplete Downloads โข ๐ฆ Full Setup (for developers) โข ๐ ๏ธ Advanced Options โข ๐จโ๐ณ Who made this? โข ๐ค Contributing โข โ๏ธ License ๐ Quick Start > New here? Follow these steps and you'll be downloading videos in a few minutes. Step 1 โ Install Python Download Python 3.10 or newer and install it. > **Windows users:** during installation, tick the **"Add Python to PATH"** checkbox at the bottom of the first screen โ easy to miss! Step 2 โ Install FFmpeg FFmpeg is a free tool that handles saving and converting video files. โข **macOS** โ open Terminal and run: > Don't have Homebrew? Install it here first (one command, takes about a minute). โข **Windows** โ download FFmpeg here, unzip it, and add it to your PATH. (step-by-step guide) โข **Linux (Ubuntu/Debian)** โ open a terminal and run: Step 3 โ Download this project Click the green **Code** button at the top of this page โ **Download ZIP**. Unzip it anywhere you like (your Desktop is fine). Step 4 โ Open a terminal inside the project folder โข **macOS:** right-click the unzipped folder โ **New Terminal at Folder** โข **Windows:** open the folder, click the address bar at the top, type , press Enter โข **Linux:** right-click the folder โ **Open Terminal** Step 5 โ Install the required libraries In the terminal, run these three commands one by one: > **Windows:** use instead of . That's it โ you're ready! See Usage below. > **Each time you open a new terminal**, you must run (macOS/Linux) or (Windows) before using the script. ๐ช Usage > **First, make sure your virtual environment is active.** If you see at the start of your terminal prompt, you're good. If not, run: > > (Windows: ) In your terminal, run: You'll be asked for a YouTube URL. Paste it and press Enter โ that's it! Your video will be saved in the folder. Download multiple videos at once Paste multiple URLs separated by commas: Or press Enter on an empty prompt to switch to one-URL-per-line mode: You can freely mix videos, playlists, and channel URLs in the same command โ the script handles each one correctly. > **If one URL fails, the rest keep downloading.** A dead link or private video won't stop your other downloads. Download audio only (MP3) ๐ต When the script asks for a format, choose option : Great for music playlists, podcasts, and lectures. ๐ต Playlist Downloads Paste a playlist URL and every video in it will be downloaded and saved in its own folder: You can download multiple playlists at once by separating their URLs with commas. MP3 mode works with playlists too โ all audio files are saved in the same numbered folder structure. **๐ Example result:** ๐บ Channel Downloads Paste any YouTube channel URL to download all its videos: All these URL formats work automatically: โข โข โข โข Videos are saved in a folder named after the channel, sorted by upload date. MP3 mode works for channels too โ useful for music or podcast channels to save disk space. > **Heads up:** channels with hundreds of videos can take a long time to download. The script paces requests automatically to avoid being blocked by YouTube. **๐ Channel file structure example:** ๐งน Optional: Clean Up Incomplete Downloads If a download was interrupted (e.g. you lost internet or closed the terminal), some unfinished files may be left in the folder. To remove them, run: This only deletes incomplete files ( , , temp fragments) โ your finished downloads are untouched. No need to activate the virtual environment for this; it uses no external dependencies. Most people will never need this. --- ๐ฆ Full Setup (for developers) If you're comfortable with the command line or want to contribute to the project: โข **Clone the repository** โข **Create a virtual environment** *(keeps this project's packages separate from your system)* > **Windows:** use instead. > Run this activation command again each time you open a new terminal. โข **Install dependencies** โข **Install FFmpeg** โ see Step 2 of Quick Start above. --- ๐ ๏ธ Advanced Options List available formats for a video To see all quality options for a specific video before downloading: Control how many downloads run at the same time The script supports simultaneous downloads. When downloading multiple videos, you'll be asked how many to run in parallel (1โ5, default is 3). More = faster, but uses more bandwidth. Customise the script You can edit to change: โข Maximum video resolution (currently capped at 1080p) โข Default output folder โข Number of retry attempts for failed downloads ๐จโ๐ณ Who cooked this? **Pierre-Henry Soria**. A passionate **software AI engineer** who loves automating content creation! ๐ Enthusiast for YouTube, photography, AI, learning, and health! ๐ Find me at pH7.me ๐ โ๏ธ Do you enjoy this project? **Offer me a coffee** (spoiler alert: I love almond flat white! ๐) [![@phenrysay][x-icon]](https://x.com/phenrysay "Follow Me on X") [![pH-7][github-icon]](https://github.com/pH-7 "Follow Me on GitHub") [![YouTube Tech Videos][youtube-icon]](https://www.youtube.com/@pH7Programming "My YouTube Tech Channel") [![BlueSky][bsky-icon]](https://bsky.app/profile/ph7.me "Follow Me on BlueSky") ๐ค Contributing Fork the repo and submit a pull request. โ๏ธ License **Download Simply Videos From YouTube** is generously diโฆ