[discovery] improve _VALID_URL regex

totalwebcasting
remitamine 9 years ago
parent fec040e754
commit b05641ce40

@ -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': {

Loading…
Cancel
Save