Re:YouTube: Google has found a way to break Invidious
by kmstout on Sunday March 31, 2024 @08:00PM
(#39889458)
It turns out that it's easy to rig eww (Emacs's built-in browser) to automatically pass URLs to whatever special handlers you desire, via the "browse-url-handlers" variable. I did that earlier this weekend for Github and Youtube. For Youtube, I have a wrapper function just starts mpv with the supplied url. For Github, a different wrapper just breaks out the user/repo pair from the url and invokes github-explorer, available in MELPA. (When I need more from a repo, I can just clone it and explore it locally. Either way, there's little need to deal with Github's web UI.)
[ Parent
| on HN ]
Re:YouTube: Google has found a way to break Invidious
by brokenmachine on Tuesday April 02, 2024 @11:57PM
(#39913473)
You browse youtube with Emacs? How do you see the thumbnails (or don't you care)?
Re:YouTube: Google has found a way to break Invidious
by kmstout on Thursday April 04, 2024 @10:48PM
(#39938214)
Not quite. Late last year I began running a Searx instance locally, less for privacy than for having a hackable meta-search engine. Since it supports several "bangs," like !ddg and !yt and the like, I generally use this for quickly searching Youtube without changing context. When I enable images [0], I can see the thumbnails just fine. Regardless, there are plenty of places on the web (like here) where people will post interesting YT links, and having them pop open in mpv is a good default [1].
I've also evolved a CLI YT client, based on mpv/yt-dlp and fzf; it does not show thumbnails. Even so, it's perfectly fine for gathering lots of search results, like
$ yt 500 medical uses for hollandaise
which will gather the first 500 results about medical hollandaise [1], filter out the shorts, and present the remaining results in an fzf-based UI. I haven't really missed the thumbnails.---
[0] One of the first things I did with eww was to bind "I" to a function that toggles images on or off and re-displays the current page.
[1] In my setup, I can override all special handling of a URL by holding Ctrl while hitting Enter to follow a link.
[2] Earlier today, I had a fascinating conversation with TinyLLama about the medical uses of hollandaise and options for regulating it. Did you know that it can be taken intravenously to help fight cancer?
Re:YouTube: Google has found a way to break Invidious
by brokenmachine on Friday April 05, 2024 @01:11AM
(#39938869)
fzf looks interesting, I'll check it out.