From: Sergey M․ Date: Sat, 4 Apr 2015 17:33:07 +0000 (+0600) Subject: [dump] Fix title extraction X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=fefc9d121d32321d3609e131e488c443d7af962a;p=youtube-dl [dump] Fix title extraction --- 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'([^"]+)', 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, }