aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-04-04 23:33:07 +0600
committerSergey M․ <dstftw@gmail.com>2015-04-04 23:33:07 +0600
commitfefc9d121d32321d3609e131e488c443d7af962a (patch)
tree4a2a3b1e3d86b0ba9bd9753ef96dc1392f940e7d
parenta319c33d8b8c4a7ac1d2f8dd739508b041d960b0 (diff)
downloadyoutube-dl-fefc9d121d32321d3609e131e488c443d7af962a.tar.xz
[dump] Fix title extraction
-rw-r--r--youtube_dl/extractor/dump.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/youtube_dl/extractor/dump.py b/youtube_dl/extractor/dump.py
index 6b651778a..ff78d4fd2 100644
--- a/youtube_dl/extractor/dump.py
+++ b/youtube_dl/extractor/dump.py
@@ -28,12 +28,12 @@ class DumpIE(InfoExtractor):
video_url = self._search_regex(
r's1.addVariable\("file",\s*"([^"]+)"', webpage, 'video URL')
- thumb = self._og_search_thumbnail(webpage)
- title = self._search_regex(r'<b>([^"]+)</b>', webpage, 'title')
+ title = self._og_search_title(webpage)
+ thumbnail = self._og_search_thumbnail(webpage)
return {
'id': video_id,
'title': title,
'url': video_url,
- 'thumbnail': thumb,
+ 'thumbnail': thumbnail,
}