mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-30 12:01:28 +00:00
fixed MetacafeIE (uploader nickname regex) - closes #515
This commit is contained in:
parent
b7a34316d2
commit
bf95333e5e
|
@ -603,7 +603,7 @@ def _real_extract(self, url):
|
|||
return
|
||||
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:
|
||||
self._downloader.trouble(u'ERROR: unable to extract uploader nickname')
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue