Skip to content
This repository has been archived by the owner on Mar 5, 2022. It is now read-only.

Search and stream videos from the terminal

John Doe edited this page Feb 23, 2020 · 1 revision

YouTube from googler

All you need to look up and stream videos on your desktop with googler is a media player capable of streaming videos e.g. mpv.

Steps

Create an alias:

// for Google Videos (any source)
alias v='googler -V --url-handler mpv $argv'
// for site-specific videos (e.g. YouTube)
alias yv='googler -w youtube.com --url-handler mpv $argv'

Look up YouTube for videos:

yv fullmetal alchemist all openings

Open the search result index to stream the video in mpv. Magic!