]> git.bitcoin.ninja Git - youtube-dl/commitdiff
Merge remote-tracking branch 'Dineshs91/KontrTube-fix'
authorPhilipp Hagemeister <phihag@phihag.de>
Mon, 13 Oct 2014 08:09:57 +0000 (10:09 +0200)
committerPhilipp Hagemeister <phihag@phihag.de>
Mon, 13 Oct 2014 08:09:57 +0000 (10:09 +0200)
youtube_dl/extractor/kontrtube.py

index 5341ac773f79fe237626bdfe3243bd1561d8003d..8a73ecfa0631d2e63c0d11ca30889c63ae9a9d6d 100644 (file)
@@ -34,7 +34,7 @@ class KontrTubeIE(InfoExtractor):
         video_url = self._html_search_regex(r"video_url: '(.+?)/?',", webpage, 'video URL')
         thumbnail = self._html_search_regex(r"preview_url: '(.+?)/?',", webpage, 'video thumbnail', fatal=False)
         title = self._html_search_regex(
-            r'<title>(.+?) - Труба зовёт - Интересный видеохостинг</title>', webpage, 'video title')
+            r'<title>(.+?)</title>', webpage, 'video title')
         description = self._html_search_meta('description', webpage, 'video description')
 
         mobj = re.search(