[canal+] Add support for d17.tv
authorSergey M․ <dstftw@gmail.com>
Tue, 7 Jun 2016 15:32:08 +0000 (22:32 +0700)
committerSergey M․ <dstftw@gmail.com>
Tue, 7 Jun 2016 15:32:08 +0000 (22:32 +0700)
youtube_dl/extractor/canalplus.py

index 605c5e957eb643ecb0f197b3a1f39928757ab355..61463f249f6e4ded3b5f59831d7dba421ef9de9a 100644 (file)
@@ -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):