youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit c38970ca10fc8c8e3ba05019d5f73ff235de9fc8
parent 51f2863357af55dfe026bfe47808bf104e7eebf9
Author: Sergey M․ <dstftw@gmail.com>
Date:   Sun, 10 Dec 2017 22:46:21 +0700

[culturebox] Improve video id extraction (closes #14947)

Diffstat:
Myoutube_dl/extractor/francetv.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/francetv.py b/youtube_dl/extractor/francetv.py @@ -356,6 +356,7 @@ class CultureboxIE(FranceTVBaseInfoExtractor): raise ExtractorError('Video %s is not available' % name, expected=True) video_id, catalogue = self._search_regex( - r'"https?://videos\.francetv\.fr/video/([^@]+@[^"]+)"', webpage, 'video id').split('@') + r'["\'>]https?://videos\.francetv\.fr/video/([^@]+@.+?)["\'<]', + webpage, 'video id').split('@') return self._extract_video(video_id, catalogue)