diff options
author | Sergey M․ <dstftw@gmail.com> | 2017-02-06 23:53:42 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2017-02-06 23:53:42 +0700 |
commit | d5d904ff7d712e126885915d9e3e35b5f3115888 (patch) | |
tree | 0ebeb3f76fb17835a13085ea93f3e06bfd294731 /youtube_dl/extractor | |
parent | 5620f840f68ffb688131aaa3a40462110f9da468 (diff) |
[canalplus] Add support for cstar.fr (#11990)
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/canalplus.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/youtube_dl/extractor/canalplus.py b/youtube_dl/extractor/canalplus.py index b3f76a7b1..4b9fa2ddf 100644 --- a/youtube_dl/extractor/canalplus.py +++ b/youtube_dl/extractor/canalplus.py @@ -27,6 +27,7 @@ class CanalplusIE(InfoExtractor): (?:www\.)?d8\.tv| (?:www\.)?c8\.fr| (?:www\.)?d17\.tv| + (?:(?:football|www)\.)?cstar\.fr| (?:www\.)?itele\.fr )/(?:(?:[^/]+/)*(?P<display_id>[^/?#&]+))?(?:\?.*\bvid=(?P<vid>\d+))?| player\.canalplus\.fr/#/(?P<id>\d+) @@ -40,6 +41,7 @@ class CanalplusIE(InfoExtractor): 'd8': 'd8', 'c8': 'd8', 'd17': 'd17', + 'cstar': 'd17', 'itele': 'itele', } @@ -87,6 +89,19 @@ class CanalplusIE(InfoExtractor): 'upload_date': '20161014', }, }, { + 'url': 'http://football.cstar.fr/cstar-minisite-foot/pid7566-feminines-videos.html?vid=1416769', + 'info_dict': { + 'id': '1416769', + 'display_id': 'pid7566-feminines-videos', + 'ext': 'mp4', + 'title': 'France - Albanie : les temps forts de la soirée - 20/09/2016', + 'description': 'md5:c3f30f2aaac294c1c969b3294de6904e', + 'upload_date': '20160921', + }, + 'params': { + 'skip_download': True, + }, + }, { 'url': 'http://m.canalplus.fr/?vid=1398231', 'only_matching': True, }, { |