2020-06-22 13:43:42 -04:00
|
|
|
# youtube-viewer
|
|
|
|
|
2024-03-07 01:45:55 -03:00
|
|
|
> Search and play videos from YouTube.
|
2020-06-22 13:43:42 -04:00
|
|
|
> More information: <https://github.com/trizen/youtube-viewer>.
|
|
|
|
|
|
|
|
- Search for a video:
|
|
|
|
|
|
|
|
`youtube-viewer {{search_term}}`
|
|
|
|
|
2021-05-14 02:42:15 +02:00
|
|
|
- Log in to your YouTube account:
|
2020-06-22 13:43:42 -04:00
|
|
|
|
|
|
|
`youtube-viewer --login`
|
|
|
|
|
|
|
|
- Watch a video with a specific URL in VLC:
|
|
|
|
|
2020-06-26 13:03:45 -04:00
|
|
|
`youtube-viewer --player={{vlc}} {{https://youtube.com/watch?v=dQw4w9WgXcQ}}`
|
2020-06-22 13:43:42 -04:00
|
|
|
|
|
|
|
- Display a search prompt and play the selected video in 720p:
|
|
|
|
|
|
|
|
`youtube-viewer -{{7}}`
|