Answers for "download with youtube-dl"

3

install youtube-dl windows

1. install chocolate on your computer
--- 1. open powershell using 'RUN AS ADMINISTRATOR'
--- 2. Paste the 'follow' and 'run'

Set-ExecutionPolicy Bypass -Scope Process -Force; `
  iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))

--- 3. Close and Reopen powershell

2. install youtube-dl using choco
--- 1. choco install youtube-dl
--- 2. enter 'a' and press enter for any prompts
--- 3. choco install ffmpeg
--- 4. enter 'a' and press enter for any prompts

3. open 'cmd' and use 'youtube-dl'
--- 1. to download a single video
------>  youtube-dl -ciw -f mp4 https://www.youtube.com/watch?v=dQw4w9WgXcQ -o "%(title)s.%(ext)s"
--- 2. to download a playlist
------>  youtube-dl -ciw -f mp4 https://www.youtube.com/playlist?list=PLv3TTBr1W_9tppikBxAE_G6qjWdBljBHJ -o "%(playlist_index)s %(title)s.%(ext)s"
--- 3. to extract audio from video
------>  youtube-dl -ciw --extract-audio --audio-format mp3 --audio-quality 0 https://www.youtube.com/watch?v=dQw4w9WgXcQ -o "%(title)s.%(ext)s"
Posted by: Guest on June-01-2021
2

youtube dl

720p:
youtube-dl -f 22 http://www.youtube.com/watch?v=dQw4w9WgXcQ
360p:
youtube-dl -f 18 http://www.youtube.com/watch?v=dQw4w9WgXcQ

other formats:
https://www.reddit.com/r/youtubedl/comments/aa6uvq/how_do_i_download_a_video_or_playlist_at_480p_only/
Posted by: Guest on January-12-2021

Browse Popular Code Answers by Language