Browse Source

[canalplus] Accept player.canalplus.fr urls

rtmp_test
Jaime Marquínez Ferrándiz 11 years ago
parent
commit
069d098f84
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/canalplus.py

+ 1
- 1
youtube_dl/extractor/canalplus.py View File

@ -5,7 +5,7 @@ from .common import InfoExtractor
from ..utils import unified_strdate from ..utils import unified_strdate
class CanalplusIE(InfoExtractor): class CanalplusIE(InfoExtractor):
_VALID_URL = r'https?://www\.canalplus\.fr/.*?\?vid=(?P<id>\d+)'
_VALID_URL = r'https?://(www\.canalplus\.fr/.*?\?vid=|player\.canalplus\.fr/#/)(?P<id>\d+)'
_VIDEO_INFO_TEMPLATE = 'http://service.canal-plus.com/video/rest/getVideosLiees/cplus/%s' _VIDEO_INFO_TEMPLATE = 'http://service.canal-plus.com/video/rest/getVideosLiees/cplus/%s'
IE_NAME = u'canalplus.fr' IE_NAME = u'canalplus.fr'


Loading…
Cancel
Save