From 7e2dd306fecee8bc7538f194b470f8e384a3a71a Mon Sep 17 00:00:00 2001 From: Ricardo Garcia Date: Tue, 6 Jul 2010 18:52:46 +0200 Subject: [PATCH] Make the Dailymotion uploader regexp more flexible because it fails sometimes --- youtube-dl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube-dl b/youtube-dl index 19acce127..36f392c83 100755 --- a/youtube-dl +++ b/youtube-dl @@ -1149,7 +1149,7 @@ class DailymotionIE(InfoExtractor): video_title = mobj.group(1).decode('utf-8') video_title = sanitize_title(video_title) - mobj = re.search(r'(?im)
(.+?)
', webpage) + mobj = re.search(r'(?im)
.*?(.+?)
', webpage) if mobj is None: self._downloader.trouble(u'ERROR: unable to extract uploader nickname') return