1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-11-20 21:15:35 +08:00

[mlb] Fix regex

This commit is contained in:
Philipp Hagemeister 2014-07-22 23:54:05 +02:00
parent c4f731262d
commit 38e292b112

View File

@ -11,7 +11,7 @@ from ..utils import (
class MLBIE(InfoExtractor):
_VALID_URL = r'http?://m\.mlb\.com/.*video/(?:topic/[\da-z_-]+/)?v(?P<id>n?\d+)'
_VALID_URL = r'https?://m\.mlb\.com/(?:.*?/)?video/(?:topic/[\da-z_-]+/)?v(?P<id>n?\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',