title
is already a parsed string from _get_title() (title.py)
This commit is contained in:
parent
8bbfd1d1c3
commit
b9e71ec833
1 changed files with 0 additions and 2 deletions
|
@ -50,8 +50,6 @@ class Module(ModuleManager.BaseModule):
|
||||||
title = self._get_title(url)
|
title = self._get_title(url)
|
||||||
|
|
||||||
if title:
|
if title:
|
||||||
title = title.text.replace("\n", " ").replace("\r", ""
|
|
||||||
).replace(" ", " ").strip()
|
|
||||||
event["stdout"].write(title)
|
event["stdout"].write(title)
|
||||||
else:
|
else:
|
||||||
event["stderr"].write("Failed to get title")
|
event["stderr"].write("Failed to get title")
|
||||||
|
|
Loading…
Reference in a new issue