Skip to content

A feature-rich command-line audio/video downloader

Fix detection of uploader nickname in metacafe (fixes issue #67)

Ricardo Garcia29f075680510
diff --git a/youtube-dl b/youtube-dl
index 52bda1b253..739e3cd7c2 100755
--- a/youtube-dl
+++ b/youtube-dl
@@ -868,7 +868,7 @@ class MetacafeIE(InfoExtractor):
return
video_title = mobj.group(1).decode('utf-8')
- mobj = re.search(r'(?ms)<li id="ChnlUsr">.*?Submitter:.*?<a .*?>(.*?)<', webpage)
+ mobj = re.search(r'(?ms)By:\s*<a .*?>(.+?)<', webpage)
if mobj is None:
self._downloader.trouble(u'ERROR: unable to extract uploader nickname')
return