mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 03:33:11 +01:00
Web: Use title instead of parser.title.
This commit is contained in:
parent
df7689cc2e
commit
5cf1b34f55
@ -158,7 +158,7 @@ class Web(callbacks.PluginRegexp):
|
||||
parser.close()
|
||||
title = parser.title
|
||||
if title:
|
||||
title = utils.web.htmlToText(parser.title.strip())
|
||||
title = utils.web.htmlToText(title.strip())
|
||||
elif raiseErrors:
|
||||
if len(text) < size:
|
||||
irc.reply(_('That URL appears to have no HTML title.'))
|
||||
|
Loading…
Reference in New Issue
Block a user