A feature-rich command-line audio/video downloader
[canalplus] Fix video id extraction (Closes #2645)
Sergey M․8efd15f47721
diff --git a/youtube_dl/extractor/canalplus.py b/youtube_dl/extractor/canalplus.pyindex 7cdcd8399a..49dfd881e3 100644--- a/youtube_dl/extractor/canalplus.py+++ b/youtube_dl/extractor/canalplus.py@@ -28,7 +28,7 @@ class CanalplusIE(InfoExtractor):video_id = mobj.groupdict().get('id')if video_id is None:webpage = self._download_webpage(url, mobj.group('path'))- video_id = self._search_regex(r'videoId = "(\d+)";', webpage, u'video id')+ video_id = self._search_regex(r'<canal:player videoId="(\d+)"', webpage, u'video id')info_url = self._VIDEO_INFO_TEMPLATE % video_iddoc = self._download_xml(info_url,video_id,u'Downloading video info')