[metacafe] Add support for cbs videos (fixes #1838)
[youtube-dl] / youtube_dl / extractor / theplatform.py
index d1d6a4c2cbc9cf846c9fe5c5fcf2e0f993dbfe48..9206895116e7f1ff66eb9376ba2927adde98431a 100644 (file)
@@ -11,7 +11,7 @@ _x = lambda p: xpath_with_ns(p, {'smil': 'http://www.w3.org/2005/SMIL21/Language
 
 
 class ThePlatformIE(InfoExtractor):
-    _VALID_URL = r'https?://link\.theplatform\.com/s/[^/]+/(?P<id>[^/\?]+)'
+    _VALID_URL = r'(?:https?://link\.theplatform\.com/s/[^/]+/|theplatform:)(?P<id>[^/\?]+)'
 
     _TEST = {
         # from http://www.metacafe.com/watch/cb-e9I_cZgTgIPd/blackberrys_big_bold_z30/