1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 06:44:56 +02:00
tldr/pages/common/youtube-viewer.md
2020-06-26 19:03:45 +02:00

20 lines
486 B
Markdown

# 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=dQw4w9WgXcQ}}`
- Display a search prompt and play the selected video in 720p:
`youtube-viewer -{{7}}`