Return data and not None...
This commit is contained in:
parent
abcc4067d2
commit
322cd0230d
1 changed files with 1 additions and 0 deletions
|
|
@ -58,6 +58,7 @@ class DailyTitlesPage(PresseuropPage):
|
|||
try_drop_tree(self.parser, element_body, "aside.articlerelated")
|
||||
try_drop_tree(self.parser, element_body, "div.sharecount")
|
||||
clean_relativ_urls(element_body, "http://presseurop.eu")
|
||||
return self.parser.tostring(element_body)
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue