2020-06-22 18:43:42 +01:00
|
|
|
# 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:
|
|
|
|
|
2020-06-26 18:03:45 +01:00
|
|
|
`youtube-viewer --player={{vlc}} {{https://youtube.com/watch?v=dQw4w9WgXcQ}}`
|
2020-06-22 18:43:42 +01:00
|
|
|
|
|
|
|
- Display a search prompt and play the selected video in 720p:
|
|
|
|
|
|
|
|
`youtube-viewer -{{7}}`
|