1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-22 16:44:32 +01:00

fixed MetacafeIE (uploader nickname regex) - closes #515

This commit is contained in:
Filippo Valsorda 2012-11-06 23:08:10 +01:00
parent b7a34316d2
commit bf95333e5e

View File

@ -603,7 +603,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)By:\s*<a .*?>(.+?)<', webpage) mobj = re.search(r'submitter=(.*?);', 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