aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/telecinco.py
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2014-10-23 20:08:55 +0200
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2014-10-23 20:08:55 +0200
commitad5f53ac72d32803819d221b3e9a68331c3002a1 (patch)
treeb020942079c05da0833b53391384e2cdd7cdeb3c /youtube_dl/extractor/telecinco.py
parent75da98e9e1f55f8fc27200f2b3d56386ead3b56d (diff)
[telecinco] Add extractor (closes #4005)
It uses the same extraction process as mitele.es, but with a few small differences.
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,
+ },
+ }