From 5cf1b34f558ce4e36b8972ce3a3d5f4a729be67e Mon Sep 17 00:00:00 2001 From: Jussi Timperi Date: Thu, 22 Oct 2015 17:13:47 +0300 Subject: [PATCH] Web: Use title instead of parser.title. --- plugins/Web/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Web/plugin.py b/plugins/Web/plugin.py index 29810bdb0..1117d0208 100644 --- a/plugins/Web/plugin.py +++ b/plugins/Web/plugin.py @@ -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.'))