mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-10-01 17:16:31 +02: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()
|
parser.close()
|
||||||
title = parser.title
|
title = parser.title
|
||||||
if title:
|
if title:
|
||||||
title = utils.web.htmlToText(parser.title.strip())
|
title = utils.web.htmlToText(title.strip())
|
||||||
elif raiseErrors:
|
elif raiseErrors:
|
||||||
if len(text) < size:
|
if len(text) < size:
|
||||||
irc.reply(_('That URL appears to have no HTML title.'))
|
irc.reply(_('That URL appears to have no HTML title.'))
|
||||||
|
Loading…
Reference in New Issue
Block a user