video – How do I block non educational content on youtube recommendations for Safari?

There’ve been a plethora of posts about users wanting to completely block all youtube recommendations. I too was considering the same thing, as I find it can be quite distracting. However I do use youtube quite a bit for work, particularly for tutorials, explanations, and lectures focusing on math, machine learning, coding, etc. I often find youtube’s recommendations useful if they recommend other interesting educational videos (e.g. other lectures, other videos in a series of tutorials the creator made, etc).

Is it possible to block out just content that is not considered educational (i.e. entertainment content)? This obviously isn’t any easy task, and would require some non trivial NLP work to make it perform well, but I was just wondering if something like this exists