aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-09-25 05:18:45 +0600
committerSergey M․ <dstftw@gmail.com>2015-09-25 05:18:45 +0600
commit0940c5b4c6a068d4919fd29a8db2a85ab3bbf703 (patch)
tree58f8a726d2cc2e0f246bf2a9fafd4ca5fed48fb7
parent42ca72dff38c6cb23724dd91b39550e805bd8d25 (diff)
[condenast] Do not capture unused group in _VALID_URL
-rw-r--r--youtube_dl/extractor/condenast.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/condenast.py b/youtube_dl/extractor/condenast.py
index ef1d28091..d6949ca28 100644
--- a/youtube_dl/extractor/condenast.py
+++ b/youtube_dl/extractor/condenast.py
@@ -44,7 +44,7 @@ class CondeNastIE(InfoExtractor):
'wmagazine': 'W Magazine',
}
- _VALID_URL = r'http://(video|www|player)\.(?P<site>%s)\.com/(?P<type>watch|series|video|embed)/(?P<id>[^/?#]+)' % '|'.join(_SITES.keys())
+ _VALID_URL = r'http://(?:video|www|player)\.(?P<site>%s)\.com/(?P<type>watch|series|video|embed)/(?P<id>[^/?#]+)' % '|'.join(_SITES.keys())
IE_DESC = 'Condé Nast media group: %s' % ', '.join(sorted(_SITES.values()))
EMBED_URL = r'(?:https?:)?//player\.(?P<site>%s)\.com/(?P<type>embed)/.+?' % '|'.join(_SITES.keys())