aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/francetv.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-02-18 22:09:21 +0600
committerSergey M․ <dstftw@gmail.com>2016-02-18 22:09:21 +0600
commitf3f9cd9234aada1d677517e3042bd9312610081d (patch)
tree0e5835c0993465d0e6b9c8d82fb0002d9558e56b /youtube_dl/extractor/francetv.py
parentebf1b291d0fc16612fdac877c1242f1cb5761277 (diff)
[francetv] Improve video id regex (Closes #8563)
Diffstat (limited to 'youtube_dl/extractor/francetv.py')
-rw-r--r--youtube_dl/extractor/francetv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/francetv.py b/youtube_dl/extractor/francetv.py
index 8e60cf60f..3f4ac3093 100644
--- a/youtube_dl/extractor/francetv.py
+++ b/youtube_dl/extractor/francetv.py
@@ -289,7 +289,7 @@ class FranceTVIE(FranceTVBaseInfoExtractor):
video_id = self._match_id(url)
webpage = self._download_webpage(url, video_id)
video_id, catalogue = self._html_search_regex(
- r'href="http://videos?\.francetv\.fr/video/([^@]+@[^"]+)"',
+ r'(?:href=|player\.setVideo\(\s*)"http://videos?\.francetv\.fr/video/([^@]+@[^"]+)"',
webpage, 'video ID').split('@')
return self._extract_video(video_id, catalogue)