Skip to content

Instantly share code, notes, and snippets.

@chrislowles
Last active July 30, 2024 06:27
Show Gist options
  • Save chrislowles/469ae5d6a7e4b59f74713177dd5c96b3 to your computer and use it in GitHub Desktop.
Save chrislowles/469ae5d6a7e4b59f74713177dd5c96b3 to your computer and use it in GitHub Desktop.
yt-dlp command template to download a whole youtube channel, with steps
  1. Ensure you have WinGet installed, if you do not have it click here https://aka.ms/getwinget and reboot your PC.
  2. Input winget install yt-dlp.yt-dlp in PowerShell on Windows 10/11, when it's installed close PowerShell.
  3. Create a folder for which the channels videos will be downloaded into, right-click while holding shift in the folder to get the context menu option to open it in PowerShell.
  4. Using the line below, replace with the YouTube Channel of your choice and with the browser you use to browse YT, this ensures the download won't fail when it meets an age gate or something similar, formatting of channel urls can be varied but the formats used in the list below are what I can verify being 100% successful.

yt-dlp -f best --cookies-from-browser <browser> <channel-url>

Verified YT Channel URL Formats (That I know of):

And badda bing badda boom you're now downloading a whole YouTube Channel, and probably thrashing your storage, sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment