mirror of
https://github.com/l1ving/youtube-dl
synced 2024-12-22 11:12:51 +08:00
Fix detection of uploader nickname in metacafe (fixes issue #67)
This commit is contained in:
parent
d9bc015b3c
commit
29f0756805
@ -868,7 +868,7 @@ class MetacafeIE(InfoExtractor):
|
|||||||
return
|
return
|
||||||
video_title = mobj.group(1).decode('utf-8')
|
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:
|
if mobj is None:
|
||||||
self._downloader.trouble(u'ERROR: unable to extract uploader nickname')
|
self._downloader.trouble(u'ERROR: unable to extract uploader nickname')
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user