aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-06-07 22:32:08 +0700
committerSergey M․ <dstftw@gmail.com>2016-06-07 22:32:08 +0700
commit57b6e9652e27aa46395dab6238e54d63746f9a0e (patch)
tree95e90beccde26a27d4a4af66a8451e767e6dc783
parent3d9b3605a35eb48bd20e569ed9ce9d706e457ec6 (diff)
[canal+] Add support for d17.tv
-rw-r--r--youtube_dl/extractor/canalplus.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/youtube_dl/extractor/canalplus.py b/youtube_dl/extractor/canalplus.py
index 605c5e957..61463f249 100644
--- a/youtube_dl/extractor/canalplus.py
+++ b/youtube_dl/extractor/canalplus.py
@@ -23,6 +23,7 @@ class CanalplusIE(InfoExtractor):
(?:(?:www|m)\.)?canalplus\.fr|
(?:www\.)?piwiplus\.fr|
(?:www\.)?d8\.tv|
+ (?:www\.)?d17\.tv|
(?:www\.)?itele\.fr
)/(?:(?:[^/]+/)*(?P<display_id>[^/?#&]+))?(?:\?.*\bvid=(?P<vid>\d+))?|
player\.canalplus\.fr/#/(?P<id>\d+)
@@ -34,6 +35,7 @@ class CanalplusIE(InfoExtractor):
'canalplus': 'cplus',
'piwiplus': 'teletoon',
'd8': 'd8',
+ 'd17': 'd17',
'itele': 'itele',
}
@@ -84,6 +86,9 @@ class CanalplusIE(InfoExtractor):
}, {
'url': 'http://m.canalplus.fr/?vid=1398231',
'only_matching': True,
+ }, {
+ 'url': 'http://www.d17.tv/emissions/pid8303-lolywood.html?vid=1397061',
+ 'only_matching': True,
}]
def _real_extract(self, url):