]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/xbef.py
Use canonical URL in Vcs-Git.
[youtubedl] / youtube_dl / extractor / xbef.py
index 4ff99e5ca37fb8f4f0b663cc99761c31e75f1cf4..4c41e98b27ff1ede17b9d0d803f18f5de3ebafe3 100644 (file)
@@ -5,7 +5,7 @@ from ..compat import compat_urllib_parse_unquote
 
 
 class XBefIE(InfoExtractor):
-    _VALID_URL = r'http://(?:www\.)?xbef\.com/video/(?P<id>[0-9]+)'
+    _VALID_URL = r'https?://(?:www\.)?xbef\.com/video/(?P<id>[0-9]+)'
     _TEST = {
         'url': 'http://xbef.com/video/5119-glamourous-lesbians-smoking-drinking-and-fucking',
         'md5': 'a478b565baff61634a98f5e5338be995',
@@ -14,7 +14,7 @@ class XBefIE(InfoExtractor):
             'ext': 'mp4',
             'title': 'md5:7358a9faef8b7b57acda7c04816f170e',
             'age_limit': 18,
-            'thumbnail': 're:^http://.*\.jpg',
+            'thumbnail': r're:^http://.*\.jpg',
         }
     }