mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 06:22:07 +02:00
youtube-viewer: add page (#4102)
Co-authored-by: Zlatan Vasović <zlatanvasovic@gmail.com>
This commit is contained in:
parent
e1f6f6eb7f
commit
136ace195a
1 changed files with 20 additions and 0 deletions
20
pages/common/youtube-viewer.md
Normal file
20
pages/common/youtube-viewer.md
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
# youtube-viewer
|
||||||
|
|
||||||
|
> Command-line application for searching and playing videos from YouTube.
|
||||||
|
> More information: <https://github.com/trizen/youtube-viewer>.
|
||||||
|
|
||||||
|
- Search for a video:
|
||||||
|
|
||||||
|
`youtube-viewer {{search_term}}`
|
||||||
|
|
||||||
|
- Login to your YouTube account:
|
||||||
|
|
||||||
|
`youtube-viewer --login`
|
||||||
|
|
||||||
|
- Watch a video with a specific URL in VLC:
|
||||||
|
|
||||||
|
`youtube-viewer --player={{vlc}} {{https://youtube.com/watch?v=1dastnond}}`
|
||||||
|
|
||||||
|
- Display a search prompt and play the selected video in 720p:
|
||||||
|
|
||||||
|
`youtube-viewer -{{7}}`
|
Loading…
Add table
Reference in a new issue