]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[sztvhu] Fix the title extraction
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Tue, 15 Oct 2013 06:22:59 +0000 (08:22 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Tue, 15 Oct 2013 06:22:59 +0000 (08:22 +0200)
youtube_dl/extractor/sztvhu.py

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