# How to block adult/mature video's on youtube?

**URL:** <https://discourse.pi-hole.net/t/how-to-block-adult-mature-videos-on-youtube/43658>\
**Category:** Community Help\
**Tags:** blocklists\
**Created:** [January 27, 2021, 6:14am UTC](https://discourse.pi-hole.net/t/how-to-block-adult-mature-videos-on-youtube/43658 "2021-01-27T06:14:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![zakhooi](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/z/b9bd4f/32.png) [@zakhooi](https://discourse.pi-hole.net/u/zakhooi)\
**Post date:** [January 27, 2021, 6:14am UTC](https://discourse.pi-hole.net/t/how-to-block-adult-mature-videos-on-youtube/43658/1 "2021-01-27T06:14:53Z")

</div>

Hi,

As the title describes: How to block adult content/porn on youtube without blocking youtube entirely?

I do understand blacklists/whitelists but that's based on DNS domains.  
I don't want to block completely but just the harmfull video's like porn/violence/etc.  
Can this be done with pihole like for instance based on words on a page?  
For instance, blocking youtube video's based on blacklisted words in the title of the video.

Is that possible and if yes, how to configure?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![DanSchaper](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/danschaper/32/91_2.png) [@DanSchaper](https://discourse.pi-hole.net/u/DanSchaper)\
**Post date:** [January 27, 2021, 6:17am UTC](https://discourse.pi-hole.net/t/how-to-block-adult-mature-videos-on-youtube/43658/2 "2021-01-27T06:17:42Z")

</div>

Not gonna happen with Pi-hole. Nor any DNS blocker.

---

<div class="post-metadata">

**Author:** ![jfb](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jfb/32/4332_2.png) [@jfb](https://discourse.pi-hole.net/u/jfb)\
**Post date:** [January 27, 2021, 1:25pm UTC](https://discourse.pi-hole.net/t/how-to-block-adult-mature-videos-on-youtube/43658/3 "2021-01-27T13:25:39Z")

</div>

> [@zakhooi](#):
>
> Can this be done with pihole like for instance based on words on a page?

No. Pi-hole only sees the DNS queries; request from clients for IP's. Once the client has the IP, Pi-hole has no involvement with or knowledge of any of the data that is accessed by the client.

---

<div class="post-metadata">

**Author:** ![system](https://discourse.pi-hole.net/uploads/default/original/3X/7/c/7c8792f649eeb921c5d2b4c41564ffa873d9a2b8.png) [@system](https://discourse.pi-hole.net/u/system)\
**Post date:** [February 17, 2021, 1:26pm UTC](https://discourse.pi-hole.net/t/how-to-block-adult-mature-videos-on-youtube/43658/4 "2021-02-17T13:26:09Z")

</div>

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
