Browse Source

[sztvhu] Fix the title extraction

Jaime Marquínez Ferrándiz 12 years ago
parent
commit
9d74e308f7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/extractor/sztvhu.py

+ 1 - 1
youtube_dl/extractor/sztvhu.py

@@ -25,7 +25,7 @@ class SztvHuIE(InfoExtractor):
         video_file = self._search_regex(
         video_file = self._search_regex(
             r'file: "...:(.*?)",', webpage, 'video file')
             r'file: "...:(.*?)",', webpage, 'video file')
         title = self._html_search_regex(
         title = self._html_search_regex(
-            r'<meta name="title" content="([^"]*) - [^-]*"',
+            r'<meta name="title" content="([^"]*?) - [^-]*? - [^-]*?"',
             webpage, 'video title')
             webpage, 'video title')
         description = self._html_search_regex(
         description = self._html_search_regex(
             r'<meta name="description" content="([^"]*)"/>',
             r'<meta name="description" content="([^"]*)"/>',