projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cc887c
)
[kontrtube] Fix video title extraction
author
dinesh
<dsdiscoverdinesh@gmail.com>
Mon, 13 Oct 2014 04:33:55 +0000
(10:03 +0530)
committer
dinesh
<dsdiscoverdinesh@gmail.com>
Mon, 13 Oct 2014 04:33:55 +0000
(10:03 +0530)
youtube_dl/extractor/kontrtube.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/kontrtube.py
b/youtube_dl/extractor/kontrtube.py
index 5341ac773f79fe237626bdfe3243bd1561d8003d..8a73ecfa0631d2e63c0d11ca30889c63ae9a9d6d 100644
(file)
--- 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(