From b26e7ba6fabdeae4a644ceb36f09da1660ded011 Mon Sep 17 00:00:00 2001 From: Michele Cereda Date: Wed, 4 May 2022 23:51:46 +0200 Subject: [PATCH] Added yt-dlp notes to the knowledge base --- knowledge base/youtube-dl.md | 7 +++++++ knowledge base/yt-dlp.md | 23 +++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 knowledge base/yt-dlp.md diff --git a/knowledge base/youtube-dl.md b/knowledge base/youtube-dl.md index a1d8b3d..ae3a640 100644 --- a/knowledge base/youtube-dl.md +++ b/knowledge base/youtube-dl.md @@ -1,5 +1,7 @@ # Youtube-DL +> Not deprecated, but surpassed many times by its improved fork, [yt-dlp]. + ## TL;DR ```shell @@ -71,11 +73,16 @@ Alternatively, most package managers will have the package available. - Github [project]'s page - [Website] +- [yt-dlp] + +## Sources + - [Youtube-DL tutorial with examples for beginners] - [using youtube-dl to download entire youtube channel] [project]: https://github.com/ytdl-org/youtube-dl [website]: http://ytdl-org.gitlab.io/youtube-dl +[yt-dlp]: yt-dlp.md [youtube-dl tutorial with examples for beginners]: https://ostechnix.com/youtube-dl-tutorial-with-examples-for-beginners [using youtube-dl to download entire youtube channel]: https://askubuntu.com/questions/856911/using-youtube-dl-to-download-entire-youtube-channel#1245829 diff --git a/knowledge base/yt-dlp.md b/knowledge base/yt-dlp.md new file mode 100644 index 0000000..bcd824a --- /dev/null +++ b/knowledge base/yt-dlp.md @@ -0,0 +1,23 @@ +# Yt-dlp + +## TL;DR + +> To be able to merge multiple formats into one, you will also need to install `ffmpeg`. + +```shell +# Install it. +python3 -m pip install -U --user yt-dlp + +# List all available formats. +yt-dlp -F AK44wAvv2E4 + +# Download all videos in a YouTube channel. +yt-dlp -f "bestvideo+bestaudio/best" -ciw \ + -o "%(title)s.%(ext)s" -v https://www.youtube.com/c/pbsspacetime/videos +``` + +## Further readings + +- [GitHub] + +[github]: https://github.com/yt-dlp/yt-dlp