diff options
author | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2013-05-02 13:12:41 +0200 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2013-05-02 13:12:41 +0200 |
commit | 104ccdb8b4acaf071c17b22bc8cb9561dff4ebe5 (patch) | |
tree | dd2c3b5bf067d139df201cae8743be74ed637ac3 /youtube_dl | |
parent | aed523ecc15febe787d919bba8f4ca3cb8c1abf2 (diff) | |
download | youtube-dl-104ccdb8b4acaf071c17b22bc8cb9561dff4ebe5.tar.xz |
TumblrIE: fix title matching
Diffstat (limited to 'youtube_dl')
-rwxr-xr-x | youtube_dl/InfoExtractors.py | 4 |
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, |