I'd suggest using youtube-local or freetube instead of relying on invidious instances. Invidious instances are super unreliable as you know. Youtube-local is by far the most reliable, but unless you choose to proxy through tor you won't be proxied. Youtube-local also can't mux 1080p yet, whereas freetube can.
Freetube can use invidious instances and fall back to a local API, or vice versa. It also has a much better interface and is easier to install/configure. I use both, youtube-local for clicking links in the browser, and freetube for content I subscribe to and watch regularly.