Browse Source

[foxsports] Support some more URLs (#5611)

Sergey M․ 10 years ago
parent
commit
de765f6c31
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/extractor/foxsports.py

+ 1 - 1
youtube_dl/extractor/foxsports.py

@@ -5,7 +5,7 @@ from ..utils import smuggle_url
 
 
 
 
 class FoxSportsIE(InfoExtractor):
 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 = {
     _TEST = {
         'url': 'http://www.foxsports.com/video?vid=432609859715',
         'url': 'http://www.foxsports.com/video?vid=432609859715',