'description': 'md5:6db3c6177972822aaba18652ff59c773',
'categories': list, # NSFW
'thumbnail': 're:https?://.*\.jpg$',
+ 'age_limit': 18,
}
}
categories_str = self._html_search_regex(
r'<meta name="keywords" content="([^"]+)"', webpage, 'categories', fatal=False)
- categories = categories_str.split(',')
+ categories = (
+ None if categories_str is None
+ else categories_str.split(','))
return {
'id': video_id,
'description': description,
'thumbnail': thumbnail,
'categories': categories,
+ 'age_limit': 18,
}