From b05641ce405ef281b395c26b094208c17141d027 Mon Sep 17 00:00:00 2001 From: remitamine Date: Thu, 31 Dec 2015 18:24:49 +0100 Subject: [PATCH] [discovery] improve _VALID_URL regex --- youtube_dl/extractor/discovery.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/discovery.py b/youtube_dl/extractor/discovery.py index 2626d85e3..ce680a9f3 100644 --- a/youtube_dl/extractor/discovery.py +++ b/youtube_dl/extractor/discovery.py @@ -19,7 +19,7 @@ class DiscoveryIE(InfoExtractor): sciencechannel| tlc| velocity - )\.com/([^/]+/)*(?P[^\./\?#]+)''' + )\.com/(?:[^/]+/)*(?P[^./?#]+)''' _TESTS = [{ 'url': 'http://www.discovery.com/tv-shows/mythbusters/videos/mission-impossible-outtakes.htm', 'info_dict': { -- 2.40.0