aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/InfoExtractors.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/InfoExtractors.py')
-rwxr-xr-xyoutube_dl/InfoExtractors.py4
1 files changed, 2 insertions, 2 deletions
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'<title>(.*?) - (?P<title>.*?)</title>'
- title = unescapeHTML(re.search(re_title, webpage).group('title'))
+ re_title = r'<title>(?P<title>.*?)</title>'
+ title = unescapeHTML(re.search(re_title, webpage, re.DOTALL).group('title'))
return [{'id': video_id,
'url': video_url,