X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fxtube.py;h=1644f53c876329f053406be3d3dc1aa463cddc1b;hb=f8388757269de8a5e87b9a507db55021b3090980;hp=cf74d4fd5059af368d72b845c15f3e1415e6481c;hpb=16ea8179681263d570e632d3ce523ed23ddbf204;p=youtube-dl diff --git a/youtube_dl/extractor/xtube.py b/youtube_dl/extractor/xtube.py index cf74d4fd5..1644f53c8 100644 --- a/youtube_dl/extractor/xtube.py +++ b/youtube_dl/extractor/xtube.py @@ -22,7 +22,7 @@ class XTubeIE(InfoExtractor): 'id': 'kVTUy_G222_', 'ext': 'mp4', 'title': 'strange erotica', - 'description': 'http://www.xtube.com an ET kind of thing', + 'description': 'contains:an ET kind of thing', 'uploader': 'greenshowers', 'duration': 450, 'age_limit': 18, @@ -40,7 +40,7 @@ class XTubeIE(InfoExtractor): r'

([^<]+)', webpage, 'title') video_uploader = self._html_search_regex( [r"var\s+contentOwnerId\s*=\s*'([^']+)", - r'By:\s*([^<]+)', @@ -95,6 +95,7 @@ class XTubeUserIE(InfoExtractor): 'url': 'http://www.xtube.com/community/profile.php?user=greenshowers', 'info_dict': { 'id': 'greenshowers', + 'age_limit': 18, }, 'playlist_mincount': 155, } @@ -124,6 +125,7 @@ class XTubeUserIE(InfoExtractor): return { '_type': 'playlist', 'id': username, + 'age_limit': 18, 'entries': [{ '_type': 'url', 'url': eurl,