From: Filippo Valsorda Date: Tue, 6 Nov 2012 22:08:10 +0000 (+0100) Subject: fixed MetacafeIE (uploader nickname regex) - closes #515 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=bf95333e5eee1f06271130250c5e6df4dffb8f5d;p=youtube-dl fixed MetacafeIE (uploader nickname regex) - closes #515 --- 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