[metacafe] Add support for cbs videos (fixes #1838)

They use theplatform.com
This commit is contained in:
Jaime Marquínez Ferrándiz 2013-12-04 23:43:50 +01:00
parent e9bf7479d2
commit b9a2c53833
2 changed files with 26 additions and 5 deletions

View 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/