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