aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/condenast.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2014-10-13 19:59:35 +0700
committerSergey M <dstftw@gmail.com>2014-10-13 19:59:35 +0700
commit1419fafd36a6ab70d769411e779db63f2b4cb1ae (patch)
tree26bb017c89540a95fce0b0952ab556e9ca50bc4c /youtube_dl/extractor/condenast.py
parent9b36dcbd6512fb6469b037006c30cedd2cfae3fc (diff)
[condenast] Add support for embedded videos (Closes #3929)
Diffstat (limited to 'youtube_dl/extractor/condenast.py')
-rw-r--r--youtube_dl/extractor/condenast.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/extractor/condenast.py b/youtube_dl/extractor/condenast.py
index ffbe4903b..7a7e79360 100644
--- a/youtube_dl/extractor/condenast.py
+++ b/youtube_dl/extractor/condenast.py
@@ -34,6 +34,8 @@ class CondeNastIE(InfoExtractor):
_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())
+
_TEST = {
'url': 'http://video.wired.com/watch/3d-printed-speakers-lit-with-led',
'md5': '1921f713ed48aabd715691f774c451f7',