From: Jaime Marquínez Ferrándiz Date: Tue, 27 Aug 2013 08:21:57 +0000 (+0200) Subject: [canalplus] Accept player.canalplus.fr urls X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=069d098f846ca53073ec646f335f77dac4439844;p=youtube-dl [canalplus] Accept player.canalplus.fr urls --- diff --git a/youtube_dl/extractor/canalplus.py b/youtube_dl/extractor/canalplus.py index 3b1c88876..1f02519a0 100644 --- a/youtube_dl/extractor/canalplus.py +++ b/youtube_dl/extractor/canalplus.py @@ -5,7 +5,7 @@ from .common import InfoExtractor from ..utils import unified_strdate class CanalplusIE(InfoExtractor): - _VALID_URL = r'https?://www\.canalplus\.fr/.*?\?vid=(?P\d+)' + _VALID_URL = r'https?://(www\.canalplus\.fr/.*?\?vid=|player\.canalplus\.fr/#/)(?P\d+)' _VIDEO_INFO_TEMPLATE = 'http://service.canal-plus.com/video/rest/getVideosLiees/cplus/%s' IE_NAME = u'canalplus.fr'