소스 검색

[mlb] Fix _VALID_URL

Sergey M․ 11 년 전
부모
커밋
0c1ffe980d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      youtube_dl/extractor/mlb.py

+ 1 - 1
youtube_dl/extractor/mlb.py

@@ -11,7 +11,7 @@ from ..utils import (
 
 
 
 
 class MLBIE(InfoExtractor):
 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 = [
     _TESTS = [
         {
         {
             'url': 'http://m.mlb.com/video/topic/81536970/v34496663/mianym-stanton-practices-for-the-home-run-derby',
             'url': 'http://m.mlb.com/video/topic/81536970/v34496663/mianym-stanton-practices-for-the-home-run-derby',