title: How to filter out porn results using the YouTube API
body: <p>There is a lot of porn on YouTube. We want to filter out those results when using the YouTube search API, but the only way to do it is to use <code>safeSearch=strict</code>.</p>
  
  <p>One problem with this is that it filters out songs that contain swear words.
  We don't mind adult language, it's porn we want to filter out.</p>
  
  <p>The frustrating thing about this is that if I use <code>safeSearch=moderate</code> or <code>safeSearch=none</code>, there is absolutely NOTHING in the data response from YouTube that tells me if a particular video is adult or not.
  The "media$rating" is basically non-existent in most cases.</p>
  
  <p>So how is that YouTube knows to filter out the media when using strict mode, but doesn't know to tell me that it's adult when I'm using moderate mode?</p>
  
  <p>To reiterate, we want to filter out porn, but not swear words. How do you do this when the YouTube data API is unreliable to a fault?</p>