1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-26 12:11:52 +00:00

[mlb] Improve _VALID_URL

This commit is contained in:
Sergey M․ 2015-05-08 21:48:47 +06:00
parent d1feb30811
commit 4e6e9d21bd

View file

@ -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 = [