I noticed the same thing using googlevideo.com as a wildcard. You can load a video and then watch the query log and it will load 5-6 variations of rxxxsnxxx.googlevideo.com before it quits loading entirely. Some of those variations are the video, some are the advertisement. If you right click on the ad when it loads in Firefox and copy the debug info to notepad you can see which domain is the ad by scrolling down to ad_lvh (or is it ad_lbh?) near the bottom.
I am still getting youtube video ads on my videos using the default settings but all the other site ads are gone so im not sure what you are doing differently than me to get rid of them. At this point I've reached the limit of what I can accomplish with my current abilities so i've kinda given up for now.
Really hope we can figure out a way to bypass these ads, good luck!
I haven't ever seen a single ad when watching a youtube video via the YT plugin in Kodi.
so there has to be a way that it can source just the video and not play the ads. Either that or the overlays are blocked by kodi somehow? But I'm watching kodi on an android box connected to my TV and it should be able to play adverts just the same way that my mobile phone can... but it doesn't... it strips them out completely. I wonder how they do it ?
The Kodi youtube plugin is simply coded in such a way as to not show ads. Pi-hole cannot reprogram your youtube player or the website itself, so it can't work in the same way that Kodi does it.
I'm using YouTube adway apk. No ads whatsoever. You can download it on http://arter97.com/browse/youtube/adaway/ apk is clean. All credit goes to the respective developer.
pihole removes most of the youtube ads but not all. If you combine uBlock with pihole you can get rid off all ads. Another way is to use a firewall like pfSense with e.g. pfBlockerNG. You can pick the one which matches your needs best
No it doesn't, as I have tested videos are delivered using rX---sn-cnoa-cage.googlevideo.com blocking these will prevent videos from loading. Also these are region specific (in my case India). Also ad domains have some sort of commonality, for example I get ads from rX---sn-h557sn7r.googlevideo.com and from 6 other domains, so I blacklisted from r1 to r20 for each domain. I haven't seen any ads from a couple of days.
Mod Edit: Removed link to site that has AUP's and Terms that are not compatible with the Pi-hole. Please do not link to sites that are bulk downloaders or circumvent the Acceptable Use of a service.
@Schrauber47
Have you tried it? If so, which command fails? Although I haven't tried it there seems to be nothing that's obvious why it shouldn't just work on Raspbian.