summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSergey M․ <[email protected]>2014-03-28 18:47:15 +0700
committerSergey M․ <[email protected]>2014-03-28 18:47:15 +0700
commit8efd15f4772181f0a72adf369ba71fa219594af9 (patch)
tree697d0f0e97b0429bb389c37653bf83528d17369d
parentd26ebe990fd0e12365202db9948702be7c5edd02 (diff)
downloadyoutube-dl-8efd15f4772181f0a72adf369ba71fa219594af9.tar.gz
youtube-dl-8efd15f4772181f0a72adf369ba71fa219594af9.zip
[canalplus] Fix video id extraction (Closes #2645)
-rw-r--r--youtube_dl/extractor/canalplus.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/canalplus.py b/youtube_dl/extractor/canalplus.py
index 7cdcd8399..49dfd881e 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_id
doc = self._download_xml(info_url,video_id,
u'Downloading video info')