1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-11-21 01:32:54 +08:00

[discovery] improve _VALID_URL regex

This commit is contained in:
remitamine 2015-12-31 18:24:49 +01:00
parent fec040e754
commit b05641ce40

View File

@ -19,7 +19,7 @@ class DiscoveryIE(InfoExtractor):
sciencechannel| sciencechannel|
tlc| tlc|
velocity velocity
)\.com/([^/]+/)*(?P<id>[^\./\?#]+)''' )\.com/(?:[^/]+/)*(?P<id>[^./?#]+)'''
_TESTS = [{ _TESTS = [{
'url': 'http://www.discovery.com/tv-shows/mythbusters/videos/mission-impossible-outtakes.htm', 'url': 'http://www.discovery.com/tv-shows/mythbusters/videos/mission-impossible-outtakes.htm',
'info_dict': { 'info_dict': {