[kontrtube] Fix video title extraction
authordinesh <dsdiscoverdinesh@gmail.com>
Mon, 13 Oct 2014 04:33:55 +0000 (10:03 +0530)
committerdinesh <dsdiscoverdinesh@gmail.com>
Mon, 13 Oct 2014 04:33:55 +0000 (10:03 +0530)
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(