youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit d492dad8f440c8d0d006a896de0a56b01cd46496
parent 3368d70dceba93aa9acdb97ec2705471a3424c57
Author: Sergey M․ <dstftw@gmail.com>
Date:   Wed, 16 Sep 2015 22:45:39 +0600

[telecinco] Add support for mediaset.es

Diffstat:
Myoutube_dl/extractor/telecinco.py | 13+++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/youtube_dl/extractor/telecinco.py b/youtube_dl/extractor/telecinco.py @@ -17,8 +17,8 @@ from ..utils import ( class TelecincoIE(InfoExtractor): - IE_DESC = 'telecinco.es and cuatro.es' - _VALID_URL = r'https?://www\.(?:telecinco\.es|cuatro\.com)/(?:[^/]+/)+(?P<id>.+?)\.html' + IE_DESC = 'telecinco.es, cuatro.es and mediaset.es' + _VALID_URL = r'https?://www\.(?:telecinco\.es|cuatro\.com|mediaset\.es)/(?:[^/]+/)+(?P<id>.+?)\.html' _TESTS = [{ 'url': 'http://www.telecinco.es/robinfood/temporada-01/t01xp14/Bacalao-cocochas-pil-pil_0_1876350223.html', @@ -39,6 +39,15 @@ class TelecincoIE(InfoExtractor): 'duration': 79, }, }, { + 'url': 'http://www.mediaset.es/12meses/campanas/doylacara/conlatratanohaytrato/Ayudame-dar-cara-trata-trato_2_1986630220.html', + 'md5': 'ad1bfaaba922dd4a295724b05b68f86a', + 'info_dict': { + 'id': 'MDSVID20150513_0220', + 'ext': 'mp4', + 'title': '#DOYLACARA. Con la trata no hay trato', + 'duration': 50, + }, + }, { 'url': 'http://www.telecinco.es/informativos/nacional/Pablo_Iglesias-Informativos_Telecinco-entrevista-Pedro_Piqueras_2_1945155182.html', 'only_matching': True, }, {