Added Mac install info

Lauri Ojansivu 2022-09-25 19:39:17 +03:00
parent e6fae2bbd8
commit f5f82b0260

@ -5,7 +5,7 @@
- Ignores unavailable videos
- Using https://github.com/yt-dlp/yt-dlp
## Install
## Install on Debian or Ubuntu based Linux
```
sudo apt install python3-pip ffmpeg
@ -23,6 +23,30 @@ 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"
```
## Install on Mac
```
brew install python3 ffmpeg
```
Create yd.sh
```
cd Movies
nano yd.sh
```
There add text:
```
~/.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 $1
```
Save and Exit: Ctrl-o Enter Ctrl-x Enter
Change script to be executeable:
```
chmod +x yd.sh
```
Then download video:
```
./yd.sh https://youtube.com/...
```
## Download one or more videos from YouTube