I’m trying to redirect YouTube ad servers. I have the following regex thanks to pk198105:
The problem is that this blocks the ad domains and the YouTube client on my smart TV goes into a loop looking for working servers. However, someone else found that if you simply redirect these requests to googlevideo.com they are handled and the video plays.
So I need to redirect everything matching the regex to googlevideo.com.