]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/motorsport.py
debian/control: Remove trailing whitespace at EOF.
[youtubedl] / youtube_dl / extractor / motorsport.py
index c1a482dba39fb98efdb28e85b681565eb58e3f9e..c9d1ab64dc36f12940ff6fee6f92524ce4ae3f2e 100644 (file)
@@ -9,7 +9,7 @@ from ..compat import (
 
 class MotorsportIE(InfoExtractor):
     IE_DESC = 'motorsport.com'
-    _VALID_URL = r'http://www\.motorsport\.com/[^/?#]+/video/(?:[^/?#]+/)(?P<id>[^/]+)/?(?:$|[?#])'
+    _VALID_URL = r'https?://(?:www\.)?motorsport\.com/[^/?#]+/video/(?:[^/?#]+/)(?P<id>[^/]+)/?(?:$|[?#])'
     _TEST = {
         'url': 'http://www.motorsport.com/f1/video/main-gallery/red-bull-racing-2014-rules-explained/',
         'info_dict': {