yt-dlp

Updated in .
Categories: Software.
Tags: Open sourceVideo.
Site: github.com/yt-dlp/yt-dlp.

Table of Contents


Options

The yt-dlp configuration file path is %appdata%\youtube-dl\config.txt.

--console-title # Shows progress in console title (where possible)
--geo-bypass #geo-restrictions
--ignore-errors # Skips errors

--prefer-ffmpeg # Prefer ffmpeg over avconv for running the postprocessors
--ffmpeg-location "C:/Users/lucas/scoop/apps/ffmpeg/current/bin/ffmpeg.exe" # Location of the ffmpeg/avconv binary

# Save all files in a _YOUTUBE folder in the user downloads folder.
# It saves the video with the follow name convention:
# upload date - channel name - video title - video id . extension
-o ~/Downloads/_YOUTUBE/"%(channel)s"/"%(upload_date)s - %(id)s - %(channel)s - %(playlist_index)s - %(title)s.%(ext)s"

# alias for diferent downloads
--alias get-video "-S res,ext:mp4:m4a --recode mp4"
--alias get-audio "-f bestaudio --extract-audio --audio-format mp3 --audio-quality 0"
--alias get-extras "--skip-download --write-subs --write-auto-subs --sub-langs pt,en.* --sub-format srt --write-thumbnail --convert-thumbnails png"

Commands

Youtube

Download mp3 audio

How to list all videos on channel?

VIMEO

Download VIMEO videos