aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authordinesh <dsdiscoverdinesh@gmail.com>2014-10-13 10:03:55 +0530
committerdinesh <dsdiscoverdinesh@gmail.com>2014-10-13 10:03:55 +0530
commit8a2300a59703da441932f361e4e496bb64e4b502 (patch)
tree22c854a30e9600c8ab4cf53be9e8f9609f96bebe /youtube_dl/extractor
parent1cc887cbf0371a3de2154bc2b34546d1040d01a8 (diff)
[kontrtube] Fix video title extraction
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/kontrtube.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/kontrtube.py b/youtube_dl/extractor/kontrtube.py
index 5341ac773..8a73ecfa0 100644
--- a/youtube_dl/extractor/kontrtube.py
+++ b/youtube_dl/extractor/kontrtube.py
@@ -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(