Add support for https for all extractors as preventive and future-proof measure
[youtube-dl] / youtube_dl / extractor / redtube.py
index 2e3db6887a7f525ce41c5835a648d2ce926231a9..7ba41ba593295cdc7d2e28e6b64702321ed1ef08 100644 (file)
@@ -5,14 +5,15 @@ from ..utils import ExtractorError
 
 
 class RedTubeIE(InfoExtractor):
-    _VALID_URL = r'http://(?:www\.)?redtube\.com/(?P<id>[0-9]+)'
+    _VALID_URL = r'https?://(?:www\.)?redtube\.com/(?P<id>[0-9]+)'
     _TEST = {
         'url': 'http://www.redtube.com/66418',
+        'md5': '7b8c22b5e7098a3e1c09709df1126d2d',
         'info_dict': {
             'id': '66418',
             'ext': 'mp4',
-            "title": "Sucked on a toilet",
-            "age_limit": 18,
+            'title': 'Sucked on a toilet',
+            'age_limit': 18,
         }
     }