ledirect title is good now closes #510
This commit is contained in:
parent
b449bdc521
commit
3f9cfc1029
4 changed files with 10 additions and 1 deletions
|
|
@ -38,3 +38,10 @@ class ArticlePage(SimplePage):
|
|||
except NoAuthorElement:
|
||||
pass
|
||||
return self.browser.parser.tostring(element_body)
|
||||
|
||||
def on_loaded(self):
|
||||
self.main_div = self.document.getroot()
|
||||
self.element_author_selector = "div.mna-signature"
|
||||
self.element_body_selector = "div.mna-body"
|
||||
self.element_title_selector = "h1"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue