projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e95cb2
)
[mlb] Fix _VALID_URL
author
Sergey M․
<dstftw@gmail.com>
Fri, 18 Jul 2014 14:43:01 +0000
(21:43 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 18 Jul 2014 14:43:01 +0000
(21:43 +0700)
youtube_dl/extractor/mlb.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/mlb.py
b/youtube_dl/extractor/mlb.py
index 18ab2c135217b8a57d3bd74b883d150b4da9507d..c28be3a7d72a6bb88460c32ff42a8b34ff3e1d8e 100644
(file)
--- 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(?P<id>n?\d+)'
+ _VALID_URL = r'http
s
?://m\.mlb\.com/video/(?:topic/[\da-z_-]+/)?v(?P<id>n?\d+)'
_TESTS = [
{
'url': 'http://m.mlb.com/video/topic/81536970/v34496663/mianym-stanton-practices-for-the-home-run-derby',