X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fbeeg.py;h=d7301fe18ccf7f2324e3cb233ac93102ed076ba6;hb=1bf8cf5c2c6d9b54824fda6c9e0477f9eaabd776;hp=775f6be6b82e9aaf351a5b9b5cc1ce9e1540543d;hpb=2aebbccefceec3eb2cad147204123cb28b9d81d1;p=youtube-dl diff --git a/youtube_dl/extractor/beeg.py b/youtube_dl/extractor/beeg.py index 775f6be6b..d7301fe18 100644 --- a/youtube_dl/extractor/beeg.py +++ b/youtube_dl/extractor/beeg.py @@ -15,6 +15,9 @@ class BeegIE(InfoExtractor): 'ext': 'mp4', 'title': 'Sultry Striptease', 'description': 'md5:6db3c6177972822aaba18652ff59c773', + 'categories': list, # NSFW + 'thumbnail': 're:https?://.*\.jpg$', + 'age_limit': 18, } } @@ -24,19 +27,24 @@ class BeegIE(InfoExtractor): webpage = self._download_webpage(url, video_id) - video_url = self._html_search_regex(r"'480p'\s*:\s*'([^']+)'", webpage, 'video URL') + video_url = self._html_search_regex( + r"'480p'\s*:\s*'([^']+)'", webpage, 'video URL') - title = self._html_search_regex(r'([^<]+)\s*-\s*beeg\.?', webpage, 'title') + title = self._html_search_regex( + r'([^<]+)\s*-\s*beeg\.?', webpage, 'title') description = self._html_search_regex( - r'