HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

youtube-viewer — Search and play videos from YouTube. See also: `you-get`, `ytfzf`, `yt-dlp`. More information: <http

Submitted by: @import:tldr-pages··
0
Viewed 0 times
youtube-viewercommandfromandsearchclivideosplay

Problem

How to use the youtube-viewer command: Search and play videos from YouTube. See also: you-get, ytfzf, yt-dlp. More information: <https://github.com/trizen/youtube-viewer>.

Solution

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}}

Code Snippets

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}}

Context

tldr-pages: common/youtube-viewer

Revisions (0)

No revisions yet.