1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +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 = [