Has anyone tried to use unbound (or even a hosts file) to redirect requests to youtube to an invidious instance? It seems pretty trivial in my head but I cannot find any reference to it online

  • Mnky313@lemmy.ca
    link
    fedilink
    arrow-up
    11
    ·
    1 year ago

    There’s not really an elegant way to do this because of HTTPS.

    You can use a browser extension like Privacy Redirect to do this though (and/or set up SearXNG to do it however this will only redirect you from search results of Youtube.com on that SearXNG instance).

    • Fudgeknuckles98@lemmy.worldOP
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      Ah that makes sense, I hadn’t considered that https would mess this up. I actually already use libredirect on Firefox on my desktop, I was just hoping to set up a network wide redirect. Thanks for the help!

      • Max-P@lemmy.max-p.me
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        You can always load up your own custom CA and generate certs on the fly but it gets really complicated compared to even rolling out a custom browser addon to do the same much more easily and reliably.