diff --git a/plugins/youtube.py b/plugins/youtube.py index 32c596c..8b314b9 100644 --- a/plugins/youtube.py +++ b/plugins/youtube.py @@ -45,4 +45,7 @@ def youtube(inp): out += ' - \x02%s\x02 on \x02%s\x02' % (j['uploader'], time.strftime("%Y.%m.%d", upload_time)) + if 'contentRating' in j: + out += ' - \x034NSFW\x02' + return out