[firsttv] Fix video URL regex
authorSergey M. <dstftw@gmail.com>
Mon, 10 Feb 2014 17:49:37 +0000 (00:49 +0700)
committerSergey M. <dstftw@gmail.com>
Mon, 10 Feb 2014 17:49:37 +0000 (00:49 +0700)
youtube_dl/extractor/firsttv.py

index 20214eac521d140e5b7514c4f03eec17c400be40..44aca7b7552bde5b48f5eb1c29e7a8223b091b93 100644 (file)
@@ -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'<div class="tv_translation">\s*<h1><a href="[^"]+">([^<]*)</a>', webpage, 'title')