Browse Source

[mlb] Improve _VALID_URL

Sergey M․ 10 years ago
parent
commit
4e6e9d21bd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/extractor/mlb.py

+ 1 - 1
youtube_dl/extractor/mlb.py

@@ -22,7 +22,7 @@ class MLBIE(InfoExtractor):
                                 )\?.*?\bcontent_id=
                                 )\?.*?\bcontent_id=
                             )
                             )
                             (?P<id>n?\d+)|
                             (?P<id>n?\d+)|
-                            (?P<path>.+?)
+                            (?:[^/]+/)*(?P<path>[^/]+)
                         )
                         )
                     '''
                     '''
     _TESTS = [
     _TESTS = [