]> Raphaël G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/condenast.py
Prepare for upload.
[youtubedl] / youtube_dl / extractor / condenast.py
index ffbe4903b807faf0442057ebbee27bc9ed838c12..7a7e79360423ec39e341cf651b2aef4ca762d244 100644 (file)
@@ -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',