From: Laurent Raufaste Date: Wed, 30 Nov 2011 03:30:42 +0000 (-0500) Subject: Fix the DailymotionIE to parse the new title of a webpage X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=8abf76ddb90c83a5afd7517d4797f3c07bd1cf0f;p=youtube-dl Fix the DailymotionIE to parse the new title of a webpage --- diff --git a/youtube-dl b/youtube-dl index 8c4c320df..042b85267 100755 --- a/youtube-dl +++ b/youtube-dl @@ -1618,7 +1618,7 @@ class DailymotionIE(InfoExtractor): video_url = mediaURL - mobj = re.search(r'(?im)Dailymotion\s*-\s*(.+)\s*-\s*[^<]+?', webpage) + mobj = re.search(r'(?im)\s*(.+)\s*-\s*Video\s+Dailymotion', webpage) if mobj is None: self._downloader.trouble(u'ERROR: unable to extract title') return