2014-11-24 03:41:03 +08:00
|
|
|
# coding: utf-8
|
2014-10-24 02:08:55 +08:00
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
|
|
|
from .mitele import MiTeleIE
|
|
|
|
|
|
|
|
|
|
|
|
class TelecincoIE(MiTeleIE):
|
|
|
|
IE_NAME = 'telecinco.es'
|
2015-02-26 06:52:54 +08:00
|
|
|
_VALID_URL = r'https?://www\.telecinco\.es/[^/]+/[^/]+/(?:[^/]+/)?(?P<id>.*?)\.html'
|
2014-10-24 02:08:55 +08:00
|
|
|
|
2015-02-26 06:52:54 +08:00
|
|
|
_TESTS = [{
|
2014-10-24 02:08:55 +08:00
|
|
|
'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,
|
|
|
|
},
|
2015-02-26 06:52:54 +08:00
|
|
|
}, {
|
|
|
|
'url': 'http://www.telecinco.es/informativos/nacional/Pablo_Iglesias-Informativos_Telecinco-entrevista-Pedro_Piqueras_2_1945155182.html',
|
|
|
|
'only_matching': True,
|
|
|
|
}]
|