commit b05641ce405ef281b395c26b094208c17141d027
parent fec040e7549d06e91dae31da53bee855630d0adf
Author: remitamine <remitamine@gmail.com>
Date: Thu, 31 Dec 2015 18:24:49 +0100
[discovery] improve _VALID_URL regex
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/youtube_dl/extractor/discovery.py b/youtube_dl/extractor/discovery.py
@@ -19,7 +19,7 @@ class DiscoveryIE(InfoExtractor):
sciencechannel|
tlc|
velocity
- )\.com/([^/]+/)*(?P<id>[^\./\?#]+)'''
+ )\.com/(?:[^/]+/)*(?P<id>[^./?#]+)'''
_TESTS = [{
'url': 'http://www.discovery.com/tv-shows/mythbusters/videos/mission-impossible-outtakes.htm',
'info_dict': {