X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;ds=sidebyside;f=youtube_dl%2Fextractor%2Fdiscovery.py;h=fdce1429a62acb579f1e3acbd5e883a8444dd6f9;hb=c6ca11f1b31a292413cab03012654fd0021814a8;hp=2626d85e3a4e1dd763c61a77ae1edc99030f1a3a;hpb=fec040e7549d06e91dae31da53bee855630d0adf;p=youtube-dl diff --git a/youtube_dl/extractor/discovery.py b/youtube_dl/extractor/discovery.py index 2626d85e3..fdce1429a 100644 --- a/youtube_dl/extractor/discovery.py +++ b/youtube_dl/extractor/discovery.py @@ -9,7 +9,7 @@ from ..compat import compat_str class DiscoveryIE(InfoExtractor): - _VALID_URL = r'''(?x)http://(?:www\.)?(?: + _VALID_URL = r'''(?x)https?://(?:www\.)?(?: discovery| investigationdiscovery| discoverylife| @@ -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': {