diff --git a/youtube_dl/extractor/redtube.py b/youtube_dl/extractor/redtube.py index 10311a81a..0f3a6b024 100644 --- a/youtube_dl/extractor/redtube.py +++ b/youtube_dl/extractor/redtube.py @@ -88,15 +88,13 @@ class RedTubeIE(InfoExtractor): thumbnail = self._og_search_thumbnail(webpage) upload_date = unified_strdate(self._search_regex( - r']+>ADDED ([^<]+)<', + r'"uploadDate":"([^"]+)"', webpage, 'upload date', fatal=False)) duration = int_or_none(self._og_search_property( 'video:duration', webpage, default=None) or self._search_regex( r'videoDuration\s*:\s*(\d+)', webpage, 'duration', default=None)) view_count = str_to_int(self._search_regex( - (r']*>Views\s*]*>\s*([\d,.]+)', - r']*>VIEWS\s*\s*\s*([\d,.]+)'), - webpage, 'view count', fatal=False)) + r'"interactionCount":(\d+)', webpage, 'view count', fatal=False)) # No self-labeling, but they describe themselves as # "Home of Videos Porno"