diff options
author | stepshal <nessento@openmailbox.org> | 2016-09-08 18:29:05 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-09-14 22:47:21 +0700 |
commit | 925194022cd661747771e58bad41e5f7ae118999 (patch) | |
tree | 367c273cb380190c03cf5b2f87cb48ca38699bbe /youtube_dl/extractor/motorsport.py | |
parent | b690ea15ebe7549854962f02987a8faaa6d41f53 (diff) |
Improve some _VALID_URLs
Diffstat (limited to 'youtube_dl/extractor/motorsport.py')
-rw-r--r-- | youtube_dl/extractor/motorsport.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/motorsport.py b/youtube_dl/extractor/motorsport.py index 370328b36..c9d1ab64d 100644 --- a/youtube_dl/extractor/motorsport.py +++ b/youtube_dl/extractor/motorsport.py @@ -9,7 +9,7 @@ from ..compat import ( class MotorsportIE(InfoExtractor): IE_DESC = 'motorsport.com' - _VALID_URL = r'https?://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': { |