mirror of
https://github.com/l1ving/youtube-dl
synced 2024-11-25 12:45:34 +08:00
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>
This commit is contained in:
parent
8e590a117f
commit
8ed6b34477
@ -13,7 +13,8 @@ class XVideosIE(InfoExtractor):
|
|||||||
u'file': u'939581.flv',
|
u'file': u'939581.flv',
|
||||||
u'md5': u'1d0c835822f0a71a7bf011855db929d0',
|
u'md5': u'1d0c835822f0a71a7bf011855db929d0',
|
||||||
u'info_dict': {
|
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',
|
'ext': 'flv',
|
||||||
'thumbnail': video_thumbnail,
|
'thumbnail': video_thumbnail,
|
||||||
'description': None,
|
'description': None,
|
||||||
|
'age_limit': 18,
|
||||||
}
|
}
|
||||||
|
|
||||||
return [info]
|
return [info]
|
||||||
|
@ -26,7 +26,8 @@ class YouPornIE(InfoExtractor):
|
|||||||
u"upload_date": u"20101221",
|
u"upload_date": u"20101221",
|
||||||
u"description": u"Love & Sex Answers: http://bit.ly/DanAndJenn -- Is It Unhealthy To Masturbate Daily?",
|
u"description": u"Love & Sex Answers: http://bit.ly/DanAndJenn -- Is It Unhealthy To Masturbate Daily?",
|
||||||
u"uploader": u"Ask Dan And Jennifer",
|
u"uploader": u"Ask Dan And Jennifer",
|
||||||
u"title": u"Sex Ed: Is It Safe To Masturbate Daily?"
|
u"title": u"Sex Ed: Is It Safe To Masturbate Daily?",
|
||||||
|
u"age_limit": 18,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user