Forrest logo
back to context overview

youtube-dl

List of commands for youtube-dl:

  • youtube-dl:ai:2790a search for trending videos on youtube
    $ youtube-dl -j --flat-playlist 'https://www.youtube.com/feed/trending'
    try on your machine
    explain this command
  • youtube-dl:ai:60356 how do i search whats trending on youtube
    $ youtube-dl --dump-json --get-filename "ytsearch:'trending'"
    try on your machine
    explain this command
  • youtube-dl:ai:7e118 Download video titles without appended ID string
    $ youtube-dl --output '%(title)s.%(ext)s' --restrict-filenames
    try on your machine
    explain this command
  • youtube-dl:tldr:002fc youtube-dl: List all formats that a video or playlist is available in.
    $ youtube-dl --list-formats '${https:--www-youtube-com-watch?v=Mwa0_nE9H7A}'
    try on your machine
    explain this command
  • youtube-dl:tldr:5678d youtube-dl: Download video(s) as MP4 files with custom filenames.
    $ youtube-dl --format ${mp4} -o "${%(playlist_index)s-%(title)s by %(uploader)s on %(upload_date)s in %(playlist)s-%(ext)s}" '${url}'
    try on your machine
    explain this command
  • youtube-dl:tldr:605e0 youtube-dl: Download the audio from a video and convert it to an MP3.
    $ youtube-dl -x --audio-format ${mp3} '${url}'
    try on your machine
    explain this command
  • youtube-dl:tldr:655a9 youtube-dl: Download a video or playlist at a specific quality.
    $ youtube-dl --format "${best[height<=480]}" '${https:--www-youtube-com-watch?v=oHg5SJYRHA0}'
    try on your machine
    explain this command
  • youtube-dl:tldr:68be5 youtube-dl: Download a playlist and extract MP3s from it.
    $ youtube-dl -f "bestaudio" --continue --no-overwrites --ignore-errors --extract-audio --audio-format mp3 -o "%(title)s.%(ext)s" ${url_to_playlist}
    try on your machine
    explain this command
  • youtube-dl:tldr:8a2bb youtube-dl: Download the best quality audio and video and merge them.
    $ youtube-dl -f bestvideo+bestaudio '${url}'
    try on your machine
    explain this command
  • youtube-dl:tldr:92975 youtube-dl: Download a video or playlist.
    $ youtube-dl '${https:--www-youtube-com-watch?v=oHg5SJYRHA0}'
    try on your machine
    explain this command
  • youtube-dl:tldr:d36d0 youtube-dl: Download a particular language's subtitles along with the video.
    $ youtube-dl --sub-lang ${en} --write-sub '${https:--www-youtube-com-watch?v=Mwa0_nE9H7A}'
    try on your machine
    explain this command
back to context overview