Created YouTube (markdown)

Lauri Ojansivu 2022-04-29 19:34:23 +03:00
parent 053b107f43
commit 329ea0de29

33
YouTube.md Normal file

@ -0,0 +1,33 @@
## How to download videos from YouTube
- Embeds multistream audio and video
- Embeds subs, chat, etc, without saving them to external files
- Ignores unavailable videos
## Install
```
sudo apt install python3-pip ffmpeg
pip3 install pip --upgrade
pip3 install yt-dlp
```
Add to .bashrc:
```
alias yd="~/.local/bin/yt-dlp -f 'bv+ba/b' --sub-langs all,-live_chat --compat-options no-youtube-unavailable-videos --audio-multistreams --video-multistreams --no-clean-infojson --embed-subs"
```
## Download one or more videos from YouTube
- All from channel
- All from some favorite list
- One video
- Etc, any YouTube URL
Here, all from one channel:
```
yd https://www.youtube.com/c/Somechannel/videos
```