From: remitamine Date: Thu, 31 Dec 2015 17:24:49 +0000 (+0100) Subject: [discovery] improve _VALID_URL regex X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=b05641ce405ef281b395c26b094208c17141d027;p=youtube-dl [discovery] improve _VALID_URL regex --- 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': {