aboutsummaryrefslogtreecommitdiffhomepage
path: root/youtube_dl/extractor/firsttv.py
diff options
context:
space:
mode:
authorSergey M. <[email protected]>2014-02-11 00:49:37 +0700
committerSergey M. <[email protected]>2014-02-11 00:49:37 +0700
commit2a584ea90a52b8a0a34c9bc23e123a0133d777c8 (patch)
tree109b4f98bdcd5d098d756272b7cf13eea3c22de5 /youtube_dl/extractor/firsttv.py
parent0f6ed94a15ea9f5b9dcc9998e27c7a2bc648deab (diff)
downloadyoutube-dl-2a584ea90a52b8a0a34c9bc23e123a0133d777c8.tar.gz
youtube-dl-2a584ea90a52b8a0a34c9bc23e123a0133d777c8.zip
[firsttv] Fix video URL regex
Diffstat (limited to 'youtube_dl/extractor/firsttv.py')
-rw-r--r--youtube_dl/extractor/firsttv.py2
1 files changed, 1 insertions, 1 deletions
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'<div class="tv_translation">\s*<h1><a href="[^"]+">([^<]*)</a>', webpage, 'title')