aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/telecinco.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/extractor/telecinco.py')
-rw-r--r--youtube_dl/extractor/telecinco.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/youtube_dl/extractor/telecinco.py b/youtube_dl/extractor/telecinco.py
new file mode 100644
index 000000000..161656aa6
--- /dev/null
+++ b/youtube_dl/extractor/telecinco.py
@@ -0,0 +1,18 @@
+from __future__ import unicode_literals
+
+from .mitele import MiTeleIE
+
+
+class TelecincoIE(MiTeleIE):
+ IE_NAME = 'telecinco.es'
+ _VALID_URL = r'https?://www\.telecinco\.es/[^/]+/[^/]+/[^/]+/(?P<episode>.*?)\.html'
+
+ _TEST = {
+ '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,
+ },
+ }