From baf9bccc62ba77bcfe34a780db6271958a27b26a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Urbanovsk=C3=BD?= Date: Thu, 24 Mar 2016 11:40:01 +0100 Subject: [PATCH] [iprima] Updated RE matching m3u8 URL. Fixes #8953 --- youtube_dl/extractor/iprima.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/iprima.py b/youtube_dl/extractor/iprima.py index 61a0de472..846dc7ec8 100644 --- a/youtube_dl/extractor/iprima.py +++ b/youtube_dl/extractor/iprima.py @@ -43,7 +43,7 @@ class IPrimaIE(InfoExtractor): req.add_header('Referer', url) playerpage = self._download_webpage(req, video_id, note='Downloading player') - m3u8_url = self._search_regex(r"'src': '([^']+\.m3u8)'", playerpage, 'm3u8 url') + m3u8_url = self._search_regex(r"'src': '([^']+\.m3u8[^']+)'", playerpage, 'm3u8 url') formats = self._extract_m3u8_formats(m3u8_url, video_id, ext='mp4')