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