diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-09-16 22:45:39 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-09-16 22:45:39 +0600 |
commit | d492dad8f440c8d0d006a896de0a56b01cd46496 (patch) | |
tree | e32cc415ed6d41b8b453828bf5b7cc736ffb1632 /youtube_dl/extractor/telecinco.py | |
parent | 3368d70dceba93aa9acdb97ec2705471a3424c57 (diff) |
[telecinco] Add support for mediaset.es
Diffstat (limited to 'youtube_dl/extractor/telecinco.py')
-rw-r--r-- | youtube_dl/extractor/telecinco.py | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/youtube_dl/extractor/telecinco.py b/youtube_dl/extractor/telecinco.py index 9740c3452..b0bf9ab8d 100644 --- 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, }, { |