-
install from aur
-
install using pip
- check if $HOME/.local/bin is in PATH by running
echo $PATH
- if not add this line to your bashrc
export PATH=$HOME/.local/bin:$PATH
-
sudo apt install xclip mpv youtube-dl
pip install ywatch
-
sudo pacman -S xclip mpv youtube-dl
pip install ywatch
-
- install xclip, mpv and youtube-dl with your package manager
pip install ywatch
- check if $HOME/.local/bin is in PATH by running
The output/video files will be on ~/Videos/WATCHED
usage: yw [-h] [-b] [-c] [-d] [-f] [-p] [-m] [-r] [-s] [-sk] [-sp] [-v] [-w] [Quality]
Quality
1/8 = 1080p | 2 = 240p | 3 = 360p | 4 = 480p
7 = 720p | 9 = 1440p | 0 = 2160p
w = worst | b = best | a = audio(m4a)
o = audio(opus) | O = audio(Best Opus)
default is 480p
optional arguments:
-h, --help show this help message and exit
-b, --bar enable bar
-c, --disable-clear don't clear the screen
-d, --dir save to current directory
-f, --fullscreen enable fullscreen
-p, --playonly play only, don't save
-m, --mkv play mkv, default is mp4
-r, --disable-resume don't resume, start at the beginning
(wont work on live videos)
-s, --size show size and exit
-sk, --size-mkv show mkv size, don't forget the '-m' option
-sp, --size-mp4 show mp4 size
-v, --version show version
-w, --watch play after streaming