Explorar o código

[firsttv] Fix video URL regex

Sergey M. %!s(int64=11) %!d(string=hai) anos
pai
achega
2a584ea90a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      youtube_dl/extractor/firsttv.py

+ 1 - 1
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')