From 104ccdb8b4acaf071c17b22bc8cb9561dff4ebe5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Marqui=CC=81nez=20Ferra=CC=81ndiz?= Date: Thu, 2 May 2013 13:12:41 +0200 Subject: TumblrIE: fix title matching --- youtube_dl/InfoExtractors.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'youtube_dl/InfoExtractors.py') diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py index 110ec834c..7e2992748 100755 --- a/youtube_dl/InfoExtractors.py +++ b/youtube_dl/InfoExtractors.py @@ -4267,8 +4267,8 @@ class TumblrIE(InfoExtractor): # The only place where you can get a title, it's not complete, # but searching in other places doesn't work for all videos - re_title = r'(.*?) - (?P<title>.*?)' - title = unescapeHTML(re.search(re_title, webpage).group('title')) + re_title = r'(?P<title>.*?)' + title = unescapeHTML(re.search(re_title, webpage, re.DOTALL).group('title')) return [{'id': video_id, 'url': video_url, -- cgit v1.2.3