mirror of
https://github.com/wekan/wekan.git
synced 2026-03-04 12:50:16 +01:00
Created YouTube (markdown)
parent
053b107f43
commit
329ea0de29
1 changed files with 33 additions and 0 deletions
33
YouTube.md
Normal file
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
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue