From: Jaime Marquínez Ferrándiz Date: Mon, 1 Jul 2013 18:50:50 +0000 (+0200) Subject: GenericIE: match titles that spread across multiple lines (related #904) X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=5c44c154381f1b90883af1c300cd813d82e5fa3b;p=youtube-dl.git GenericIE: match titles that spread across multiple lines (related #904) --- diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py index 6fb9e6f32..20bc53330 100644 --- a/youtube_dl/extractor/generic.py +++ b/youtube_dl/extractor/generic.py @@ -143,7 +143,7 @@ class GenericIE(InfoExtractor): # Video Title - Tagline | Site Name # and so on and so forth; it's just not practical video_title = self._html_search_regex(r'(.*)', - webpage, u'video title', default=u'video') + webpage, u'video title', default=u'video', flags=re.DOTALL) # video uploader is domain name video_uploader = self._search_regex(r'(?:https?://)?([^/]*)/.*',