mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
27 lines
587 B
Plaintext
27 lines
587 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# youtube-viewer
|
|
|
|
> Search and play videos from YouTube.
|
|
> See also: `you-get`, `ytfzf`, `yt-dlp`.
|
|
> More information: <https://github.com/trizen/youtube-viewer>.
|
|
|
|
- Search for a video:
|
|
|
|
`youtube-viewer {{search_term}}`
|
|
|
|
- Log in 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}}`
|