From: Sergey M. Date: Mon, 10 Feb 2014 17:49:37 +0000 (+0700) Subject: [firsttv] Fix video URL regex X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=2a584ea90a52b8a0a34c9bc23e123a0133d777c8;p=youtube-dl [firsttv] Fix video URL regex --- diff --git a/youtube_dl/extractor/firsttv.py b/youtube_dl/extractor/firsttv.py index 20214eac5..44aca7b75 100644 --- a/youtube_dl/extractor/firsttv.py +++ b/youtube_dl/extractor/firsttv.py @@ -32,7 +32,7 @@ class FirstTVIE(InfoExtractor): webpage = self._download_webpage(url, video_id, 'Downloading page') video_url = self._html_search_regex( - r'''(?s)jwplayer\('flashvideoportal_1'\).setup\({.*?'file': '([^']+)'.*?}\);''', webpage, 'video URL') + r'''(?s)jwplayer\('flashvideoportal_1'\)\.setup\({.*?'file': '([^']+)'.*?}\);''', webpage, 'video URL') title = self._html_search_regex( r'
\s*

([^<]*)', webpage, 'title')