back to home

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.

364 stars
75 forks
9 issues
Python

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.

Source files are only loaded when you start an analysis to optimize performance.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind.in/repo/pH-7/Download-Simply-Videos-From-YouTube)
Preview:Analyzed by RepoMind

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โ€ฆ