From c88ea0d3de5e0e020562deb5a26ffa90fe7b7665 Mon Sep 17 00:00:00 2001 From: Michele Cereda Date: Thu, 14 Jul 2022 10:58:15 +0200 Subject: [PATCH] Improved command examples --- knowledge base/yt-dlp.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/knowledge base/yt-dlp.md b/knowledge base/yt-dlp.md index 8acd4bc..b5c98e3 100644 --- a/knowledge base/yt-dlp.md +++ b/knowledge base/yt-dlp.md @@ -13,10 +13,14 @@ python3 -m pip install -U --user yt-dlp # List all available formats. yt-dlp -F AK44wAvv2E4 +# See all available information from a video. +yt-dlp -j BaW_jenozKc + # Check what name will be used for the destination. -# Output templates at https://github.com/yt-dlp/yt-dlp#output-template -yt-dlp --get-filename -o "test video.%(ext)s" BaW_jenozKc -yt-dlp --get-filename -o "%(season)s.%(episode_number)02d.%(episode)s.%(ext)s" \ +# Output templates at https://github.com/yt-dlp/yt-dlp#output-template, or use +# '-j' to see the json file with all of them. +yt-dlp --get-filename \ + -o "%(season_number)d.%(episode_number)02d %(episode)s.%(ext)s" \ https://www.crunchyroll.com/some/good/serie # Download all videos in a YouTube channel.