about summary refs log tree commit diff
path: root/youtube_dl/extractor/xvideos.py
diff options
context:
space:
mode:
authorRogério Brito <rbrito@ime.usp.br>2013-10-18 19:32:37 -0300
committerRogério Brito <rbrito@ime.usp.br>2013-10-18 19:32:37 -0300
commit8ed6b34477367ff2900a0e8b3628056188598fe8 (patch)
treef5b52542ff914b3c87b723319ed36fa6a618182f /youtube_dl/extractor/xvideos.py
parent8e590a117f61bfb034ba6d181f5752b6977b4262 (diff)
downloadyoutube-dl-8ed6b34477367ff2900a0e8b3628056188598fe8.tar.gz
youtube-dl-8ed6b34477367ff2900a0e8b3628056188598fe8.tar.xz
youtube-dl-8ed6b34477367ff2900a0e8b3628056188598fe8.zip
extractor: Set age limit on some adult-related extractors.
This is similar in spirit to what was done in commit 8e590a117f.

Signed-off-by: Rogério Brito <rbrito@ime.usp.br>
Diffstat (limited to 'youtube_dl/extractor/xvideos.py')
-rw-r--r--youtube_dl/extractor/xvideos.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/youtube_dl/extractor/xvideos.py b/youtube_dl/extractor/xvideos.py
index c3b9736d7..90138d7e5 100644
--- a/youtube_dl/extractor/xvideos.py
+++ b/youtube_dl/extractor/xvideos.py
@@ -13,7 +13,8 @@ class XVideosIE(InfoExtractor):
         u'file': u'939581.flv',
         u'md5': u'1d0c835822f0a71a7bf011855db929d0',
         u'info_dict': {
-            u"title": u"Funny Porns By >>>>S<<<<<< -1"
+            u"title": u"Funny Porns By >>>>S<<<<<< -1",
+            u"age_limit": 18,
         }
     }
 
@@ -46,6 +47,7 @@ class XVideosIE(InfoExtractor):
             'ext': 'flv',
             'thumbnail': video_thumbnail,
             'description': None,
+            'age_limit': 18,
         }
 
         return [info]