]> Raphaël G. Git Repositories - youtubedl/blob - youtube_dl/extractor/telecinco.py
251a686804b6f26915c3fa25d9f6b2cc1f98ed4b
[youtubedl] / youtube_dl / extractor / telecinco.py
1 # coding: utf-8
2 from __future__ import unicode_literals
3
4 from .mitele import MiTeleIE
5
6
7 class TelecincoIE(MiTeleIE):
8 IE_NAME = 'telecinco.es'
9 _VALID_URL = r'https?://www\.telecinco\.es/[^/]+/[^/]+/(?:[^/]+/)?(?P<id>.*?)\.html'
10
11 _TESTS = [{
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 },
19 }, {
20 'url': 'http://www.telecinco.es/informativos/nacional/Pablo_Iglesias-Informativos_Telecinco-entrevista-Pedro_Piqueras_2_1945155182.html',
21 'only_matching': True,
22 }]