From: Philipp Hagemeister Date: Sun, 6 Oct 2013 14:39:35 +0000 (+0200) Subject: [redtube] add age_limit X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=1310bf247445148731dcfe1883b18fbf78795e9e;p=youtube-dl [redtube] add age_limit --- diff --git a/youtube_dl/extractor/redtube.py b/youtube_dl/extractor/redtube.py index bb19b898a..365aade56 100644 --- a/youtube_dl/extractor/redtube.py +++ b/youtube_dl/extractor/redtube.py @@ -30,9 +30,14 @@ class RedTubeIE(InfoExtractor): r'

(.+?)

', webpage, u'title') + # No self-labeling, but they describe themselves as + # "Home of Videos Porno" + age_limit = 18 + return { - 'id': video_id, - 'url': video_url, - 'ext': video_extension, - 'title': video_title, + 'id': video_id, + 'url': video_url, + 'ext': video_extension, + 'title': video_title, + 'age_limit': age_limit, }