diff --git a/plugins/Web/plugin.py b/plugins/Web/plugin.py index 04e9e2dce..d1558a2b8 100644 --- a/plugins/Web/plugin.py +++ b/plugins/Web/plugin.py @@ -96,7 +96,7 @@ class Web(callbacks.PluginRegexp): parser = Title() try: parser.feed(text) - except sgmllib.SGMLParseError: + except HTMLParser.HTMLParseError: self.log.debug('Encountered a problem parsing %u. Title may ' 'already be set, though', url) if parser.title: