Add an extractor for vice.com (closes #1051)

This commit is contained in:
Jaime Marquínez Ferrándiz 2013-09-16 20:58:36 +02:00
parent 4dc0ff3ecf
commit e8f8e80097
3 changed files with 43 additions and 0 deletions

View file

@ -18,6 +18,10 @@ class OoyalaIE(InfoExtractor):
},
}
@staticmethod
def _url_for_embed_code(embed_code):
return 'http://player.ooyala.com/player.js?embedCode=%s' % embed_code
def _extract_result(self, info, more_info):
return {'id': info['embedCode'],
'ext': 'mp4',