From bf95333e5eee1f06271130250c5e6df4dffb8f5d Mon Sep 17 00:00:00 2001 From: Filippo Valsorda Date: Tue, 6 Nov 2012 23:08:10 +0100 Subject: [PATCH] fixed MetacafeIE (uploader nickname regex) - closes #515 --- youtube_dl/InfoExtractors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py index 9df521d02..a5c8b9134 100644 --- a/youtube_dl/InfoExtractors.py +++ b/youtube_dl/InfoExtractors.py @@ -603,7 +603,7 @@ class MetacafeIE(InfoExtractor): return video_title = mobj.group(1).decode('utf-8') - mobj = re.search(r'(?ms)By:\s*(.+?)<', webpage) + mobj = re.search(r'submitter=(.*?);', webpage) if mobj is None: self._downloader.trouble(u'ERROR: unable to extract uploader nickname') return