page is already a soup

This commit is contained in:
jesopo 2019-11-26 14:34:41 +00:00
parent 8bb20bcb17
commit 1d41bc7c34

View file

@ -60,7 +60,7 @@ class Module(ModuleManager.BaseModule):
page = page.soup()
if page.title:
title = utils.parse.line_normalise(page.data.title.text)
title = utils.parse.line_normalise(page.title.text)
if not title:
return -3, None