I tried (both .ca &.com), but since it uses https as well and seems like Google is also streaming, I tried the router and at the opendns level.
As above, on the blacklist screen, on the very right of the URL entry bar, select wildcard to block the entire domain
YouTube also distributes their videos from *.googlevideo.com as seen in this thread. But if you wildcard block access to YouTube, that should suffice.
Works nicely for now. Complaints are coming in .... Summer is around the corner - lets see the grades before youtube reinstatement
Is there any feature where I can do a timed blacklist disable like the feature where you can disable pihole entirely for a given time period thru the Web UI? (I also watch youtube ....)
We currently don't have a timed blacklist feature.
No Problem - using my newshosting VPN bypasses pihole for now. Thank goodness my kids don't know about VPNs.
yet .... they will learn if they are determined
LOL. Suddenly your words, a new realisation dawns upon me .... they are my kids ergo they think like me!
I have tried all the above suggestions and I am STILL able to get to youtube. Have *youtube.com and when I go to www.youtube.com...it happily loads the page.
Are we quite sure that youtube is not a virus or something?
Try the pcWRT router. It worked for me. You can put a timer on YouTube too. How to put parental lock on YouTube - pcWRT
I'm having the same issue. I opened a Youtube video, then went to the Query Log page, blocked all the links that were related to youtube, and still, Youtube worked when reloading the page.
Update:
After a lot of blocking, I was able to block Youtube videos from loading, though Youtube pages were loading normally. I tried even blocking google domains, but Google and Youtube pages kept loading normally.
Try to to add youtube.com
and googlevideo.com
as regex blacklist
Try to to add
youtube.com
andgooglevideo.com
as regex blacklist
Can these domains be added in Adlists as regex and not just in Domains? I have another domain list and is setup as an adlists. If I want to disable it, all I need to do is go to one place and not have to jump around to domains and adlists to disable them.
(\.|^)googlevideo\.com$
(\.|^)youtube\.com$
No. Adlist URLS lead to individual domains only, not regex. Regex is for the domain lists only.
Looks like YouTube really is a resilient virus. (\.|^)googlevideo\.com$
and (\.|^)youtube\.com$
are not enough. Still getting a response:
Non-authoritative answer:
Name: youtube-ui.l.google.com
Addresses: 2a00:1450:4001:800::200e
2a00:1450:4001:801::200e
2a00:1450:4001:808::200e
2a00:1450:4001:81b::200e
172.217.10.110
172.217.165.142
172.217.7.14
172.217.9.238
172.217.10.46
172.217.10.14
172.217.12.174
172.217.12.142
172.217.3.110
172.217.10.238
172.217.10.78
172.217.6.206
142.250.64.110
172.217.11.46
Aliases: www.youtube.com
I am testing with those now:
(\.|^)googlevideo\.com$
.*youtu\.?be.*
The later blocks anything with "youtube" and "youtu.be" strings in it.
Hi, May I know how did You finally manage that? so far I've blocked several sides with RegEx and it's stopped playing videos, but it's still not perfect
youtube googlevideo ggpht ogleusercontent ytimg youtubei googleapis googleusercontent
Definitely works
Add these to regex
rr[0-9]+[-.]+sn-([a-z0-9]+).googlevideo(.com)?$
r[0-9]+[-.]+sn-([a-z0-9]+).googlevideo(.com)?$
You get only preview screens but no content and no ads. Actually I am trying to block ads but managed to block everything