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