From: Philipp Hagemeister Date: Mon, 1 Sep 2014 21:57:46 +0000 (+0200) Subject: [drtuber] Add age_limit and be conservative about categories (#3652) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=11fc065c5733171efcf3db75ce1de3ada143f433;p=youtube-dl [drtuber] Add age_limit and be conservative about categories (#3652) --- diff --git a/youtube_dl/extractor/drtuber.py b/youtube_dl/extractor/drtuber.py index 7b4b19509..9a13925b4 100644 --- a/youtube_dl/extractor/drtuber.py +++ b/youtube_dl/extractor/drtuber.py @@ -16,6 +16,7 @@ class DrTuberIE(InfoExtractor): 'title': 'Hot Perky Blonde Naked Golf', 'categories': list, # NSFW 'thumbnail': 're:https?://.*\.jpg$', + 'age_limit': 18, } } @@ -35,9 +36,9 @@ class DrTuberIE(InfoExtractor): r'poster="([^"]+)"', webpage, 'thumbnail', fatal=False) - categories_str = self._html_search_regex( + cats_str = self._html_search_regex( r'