Respect age_limit when listing extractors (Fixes #4653)
[youtube-dl] / youtube_dl / extractor / xtube.py
index 95f1c8f3cf20bdd83b3e524808e5c5fb20cde680..e8490b028e53080b8e685be13577a05603a4af9e 100644 (file)
@@ -95,6 +95,7 @@ class XTubeUserIE(InfoExtractor):
         'url': 'http://www.xtube.com/community/profile.php?user=greenshowers',
         'info_dict': {
             'id': 'greenshowers',
+            'age_limit': 18,
         },
         'playlist_mincount': 155,
     }
@@ -124,6 +125,7 @@ class XTubeUserIE(InfoExtractor):
         return {
             '_type': 'playlist',
             'id': username,
+            'age_limit': 18,
             'entries': [{
                 '_type': 'url',
                 'url': eurl,