X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fmlb.py;h=37c72bc5357e3766819b0f86d5bc379fdf7406c4;hb=430826c9d4ea837d17339a0a10832bab45c42956;hp=84f50082186fa5b7da7237149420f6f9c4adc8bd;hpb=c4f731262dbee921147b94aac5035b5d9ec75502;p=youtube-dl.git diff --git a/youtube_dl/extractor/mlb.py b/youtube_dl/extractor/mlb.py index 84f500821..37c72bc53 100644 --- a/youtube_dl/extractor/mlb.py +++ b/youtube_dl/extractor/mlb.py @@ -11,7 +11,7 @@ from ..utils import ( class MLBIE(InfoExtractor): - _VALID_URL = r'http?://m\.mlb\.com/.*video/(?:topic/[\da-z_-]+/)?v(?Pn?\d+)' + _VALID_URL = r'https?://m\.mlb\.com/(?:.*?/)?video/(?:topic/[\da-z_-]+/)?v(?Pn?\d+)' _TESTS = [ { 'url': 'http://m.mlb.com/sea/video/topic/51231442/v34698933/nymsea-ackley-robs-a-home-run-with-an-amazing-catch/?c_id=sea',