diff options
author | Rogério Brito <rbrito@ime.usp.br> | 2013-10-19 14:19:25 -0300 |
---|---|---|
committer | Rogério Brito <rbrito@ime.usp.br> | 2013-10-19 14:19:25 -0300 |
commit | 50a6150ed9a0d5af39c27b5dba1e06deadd767cf (patch) | |
tree | 10eb6e811b306f914a4098d455101d76282a9193 /youtube_dl/extractor/redtube.py | |
parent | 8ed6b34477367ff2900a0e8b3628056188598fe8 (diff) | |
download | youtube-dl-50a6150ed9a0d5af39c27b5dba1e06deadd767cf.zip youtube-dl-50a6150ed9a0d5af39c27b5dba1e06deadd767cf.tar.gz youtube-dl-50a6150ed9a0d5af39c27b5dba1e06deadd767cf.tar.bz2 |
extractor: Set age limit on some adult-related extractors.
More age limit of videos for adult-related sites.
Note that, for redtube, I explicitly left the variable containing the age
limit, since the comment justifying the age limit is a good thing to have.
That being said, I included the age limit field on the test, to better
reflect what the information extractor does (even if it may not break the
automated tests).
Signed-off-by: Rogério Brito <rbrito@ime.usp.br>
Diffstat (limited to 'youtube_dl/extractor/redtube.py')
-rw-r--r-- | youtube_dl/extractor/redtube.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/redtube.py b/youtube_dl/extractor/redtube.py index 365aade..994778e 100644 --- a/youtube_dl/extractor/redtube.py +++ b/youtube_dl/extractor/redtube.py @@ -10,7 +10,8 @@ class RedTubeIE(InfoExtractor): u'file': u'66418.mp4', u'md5': u'7b8c22b5e7098a3e1c09709df1126d2d', u'info_dict': { - u"title": u"Sucked on a toilet" + u"title": u"Sucked on a toilet", + u"age_limit": 18, } } |