[foxsports] Support some more URLs (#5611)
authorSergey M․ <dstftw@gmail.com>
Fri, 8 May 2015 20:15:51 +0000 (02:15 +0600)
committerSergey M․ <dstftw@gmail.com>
Fri, 8 May 2015 20:15:51 +0000 (02:15 +0600)
youtube_dl/extractor/foxsports.py

index 363866b6483fd9b419aa3a7704321339ed7494ac..df7665176ec3827f836e18b8ca46e3fec7c97c3b 100644 (file)
@@ -5,7 +5,7 @@ from ..utils import smuggle_url
 
 
 class FoxSportsIE(InfoExtractor):
-    _VALID_URL = r'https?://(?:www\.)?foxsports\.com/video\?vid=(?P<id>\d+)'
+    _VALID_URL = r'https?://(?:www\.)?foxsports\.com/(?:[^/]+/)*(?P<id>[^/]+)'
 
     _TEST = {
         'url': 'http://www.foxsports.com/video?vid=432609859715',