iv-org / invidious

Invidious is an alternative front-end to YouTube
https://invidious.io
GNU Affero General Public License v3.0
16.29k stars 1.81k forks source link

[Feature request] Add option for YouTube's (toggable and not DNS level) restricted mode #2536

Open syeopite opened 2 years ago

syeopite commented 2 years ago

Is your feature request related to a problem? Please describe. YouTube offers a togglable restricted mode to filter out mature content.

Describe the solution you'd like

A option to enable this restricted mode should be added to Invidious.

Describe alternatives you've considered

Additional context

Image of YouTube's setting panel with the restricted mode option highlighted

Related #2487

retronym commented 5 months ago

FreeTube implements a parental control feature by passing enable_safety_mode=true to the innertube.create API. https://github.com/FreeTubeApp/FreeTube/pull/1456/files https://github.com/LuanRT/YouTube.js/blob/6bb2086875d089f47c5f86ce94db9e32cb051319/README.md#L128

I'm not sure of the differences between this API option and the DNS-based filtering.

Another useful link is the "YouTube content restrictions settings / Check if YouTube content restrictions are turned on" page:

https://www.youtube.com/check_content_restrictions