]>
Commit | Line | Data |
---|---|---|
5f6a1245 | 1 | # coding: utf-8 |
ad5f53ac JMF |
2 | from __future__ import unicode_literals |
3 | ||
4 | from .mitele import MiTeleIE | |
5 | ||
6 | ||
7 | class TelecincoIE(MiTeleIE): | |
8 | IE_NAME = 'telecinco.es' | |
c10ea454 | 9 | _VALID_URL = r'https?://www\.telecinco\.es/[^/]+/[^/]+/(?:[^/]+/)?(?P<id>.*?)\.html' |
ad5f53ac | 10 | |
c10ea454 | 11 | _TESTS = [{ |
ad5f53ac JMF |
12 | 'url': 'http://www.telecinco.es/robinfood/temporada-01/t01xp14/Bacalao-cocochas-pil-pil_0_1876350223.html', |
13 | 'info_dict': { | |
14 | 'id': 'MDSVID20141015_0058', | |
15 | 'ext': 'mp4', | |
16 | 'title': 'Con Martín Berasategui, hacer un bacalao al ...', | |
17 | 'duration': 662, | |
18 | }, | |
6ad9cb22 JMF |
19 | 'params': { |
20 | # m3u8 download | |
21 | 'skip_download': True, | |
22 | }, | |
c10ea454 JMF |
23 | }, { |
24 | 'url': 'http://www.telecinco.es/informativos/nacional/Pablo_Iglesias-Informativos_Telecinco-entrevista-Pedro_Piqueras_2_1945155182.html', | |
25 | 'only_matching': True, | |
26 | }] |