aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-05-08 21:48:47 +0600
committerSergey M․ <dstftw@gmail.com>2015-05-08 21:48:47 +0600
commit4e6e9d21bd62c4e2ab2576347e066891092a5783 (patch)
treed66e976a1f3fde53ed5e03a21788edca7c95d823
parentd1feb308116f57ceae3888db5e1b93394300f564 (diff)
[mlb] Improve _VALID_URL
-rw-r--r--youtube_dl/extractor/mlb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/mlb.py b/youtube_dl/extractor/mlb.py
index 109eecefd..4e054fb53 100644
--- a/youtube_dl/extractor/mlb.py
+++ b/youtube_dl/extractor/mlb.py
@@ -22,7 +22,7 @@ class MLBIE(InfoExtractor):
)\?.*?\bcontent_id=
)
(?P<id>n?\d+)|
- (?P<path>.+?)
+ (?:[^/]+/)*(?P<path>[^/]+)
)
'''
_TESTS = [