From: dinesh Date: Mon, 13 Oct 2014 04:33:55 +0000 (+0530) Subject: [kontrtube] Fix video title extraction X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=8a2300a59703da441932f361e4e496bb64e4b502;p=youtube-dl [kontrtube] Fix video title extraction --- 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'(.+?) - Труба зовёт - Интересный видеохостинг', webpage, 'video title') + r'(.+?)', webpage, 'video title') description = self._html_search_meta('description', webpage, 'video description') mobj = re.search(