don't overwrite page - we need it for page.code

This commit is contained in:
jesopo 2019-11-27 22:10:45 +00:00
parent cc976f33de
commit 389370708d

View file

@ -57,10 +57,10 @@ class Module(ModuleManager.BaseModule):
if not page.content_type in utils.http.SOUP_CONTENT_TYPES:
return -1, None
page = page.soup()
soup = page.soup()
if page.title:
title = utils.parse.line_normalise(page.title.text)
if soup.title:
title = utils.parse.line_normalise(soup.title.text)
if not title:
return -3, None