aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Garcia <sarbalap+freshmeat@gmail.com>2009-11-24 20:40:34 +0100
committerRicardo Garcia <sarbalap+freshmeat@gmail.com>2010-10-31 11:24:56 +0100
commit29f07568051012599320b076d8bddcdb726b3258 (patch)
tree09705fe567d8e59ede3e0bcab0a29323e6205acc
parentd9bc015b3ca1071c008783e8ae8e36f4ca8e4edf (diff)
Fix detection of uploader nickname in metacafe (fixes issue #67)
-rwxr-xr-xyoutube-dl2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube-dl b/youtube-dl
index 52bda1b25..739e3cd7c 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