aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorremitamine <remitamine@gmail.com>2015-12-31 18:24:49 +0100
committerremitamine <remitamine@gmail.com>2015-12-31 18:24:49 +0100
commitb05641ce405ef281b395c26b094208c17141d027 (patch)
treec58f654be990439c643be9ffc63e48d18a592aab /youtube_dl/extractor
parentfec040e7549d06e91dae31da53bee855630d0adf (diff)
[discovery] improve _VALID_URL regex
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/discovery.py2
1 files changed, 1 insertions, 1 deletions
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<id>[^\./\?#]+)'''
+ )\.com/(?:[^/]+/)*(?P<id>[^./?#]+)'''
_TESTS = [{
'url': 'http://www.discovery.com/tv-shows/mythbusters/videos/mission-impossible-outtakes.htm',
'info_dict': {