diff options
author | dinesh <dsdiscoverdinesh@gmail.com> | 2014-10-13 10:03:55 +0530 |
---|---|---|
committer | dinesh <dsdiscoverdinesh@gmail.com> | 2014-10-13 10:03:55 +0530 |
commit | 8a2300a59703da441932f361e4e496bb64e4b502 (patch) | |
tree | 22c854a30e9600c8ab4cf53be9e8f9609f96bebe /youtube_dl/extractor/kontrtube.py | |
parent | 1cc887cbf0371a3de2154bc2b34546d1040d01a8 (diff) |
[kontrtube] Fix video title extraction
Diffstat (limited to 'youtube_dl/extractor/kontrtube.py')
-rw-r--r-- | youtube_dl/extractor/kontrtube.py | 2 |
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( |