commit 2a584ea90a52b8a0a34c9bc23e123a0133d777c8
parent 0f6ed94a15ea9f5b9dcc9998e27c7a2bc648deab
Author: Sergey M <dstftw@gmail.com>
Date: Tue, 11 Feb 2014 00:49:37 +0700
[firsttv] Fix video URL regex
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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'<div class="tv_translation">\s*<h1><a href="[^"]+">([^<]*)</a>', webpage, 'title')