[telecinco] Add extractor (closes #4005)

It uses the same extraction process as mitele.es, but with a few small differences.
This commit is contained in:
Jaime Marquínez Ferrándiz 2014-10-23 20:08:55 +02:00
parent 75da98e9e1
commit ad5f53ac72
3 changed files with 29 additions and 2 deletions

View file

@ -0,0 +1,18 @@
from __future__ import unicode_literals
from .mitele import MiTeleIE
class TelecincoIE(MiTeleIE):
IE_NAME = 'telecinco.es'
_VALID_URL = r'https?://www\.telecinco\.es/[^/]+/[^/]+/[^/]+/(?P<episode>.*?)\.html'
_TEST = {
'url': 'http://www.telecinco.es/robinfood/temporada-01/t01xp14/Bacalao-cocochas-pil-pil_0_1876350223.html',
'info_dict': {
'id': 'MDSVID20141015_0058',
'ext': 'mp4',
'title': 'Con Martín Berasategui, hacer un bacalao al ...',
'duration': 662,
},
}