title is already a parsed string from _get_title() (title.py)

This commit is contained in:
jesopo 2019-02-09 13:38:09 +00:00
parent 8bbfd1d1c3
commit b9e71ec833

View file

@ -50,8 +50,6 @@ class Module(ModuleManager.BaseModule):
title = self._get_title(url)
if title:
title = title.text.replace("\n", " ").replace("\r", ""
).replace(" ", " ").strip()
event["stdout"].write(title)
else:
event["stderr"].write("Failed to get title")