Added yt-dlp notes to the knowledge base

This commit is contained in:
Michele Cereda
2022-05-04 23:51:46 +02:00
parent a530186fe2
commit b26e7ba6fa
2 changed files with 30 additions and 0 deletions

View File

@@ -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

23
knowledge base/yt-dlp.md Normal file
View File

@@ -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