factorise
This commit is contained in:
parent
4a92e6e15a
commit
397b5875f1
9 changed files with 59 additions and 54 deletions
|
|
@ -22,9 +22,9 @@ class FlashActuPage(GenericNewsPage):
|
|||
"ArticlePage object for inrocks"
|
||||
def on_loaded(self):
|
||||
self.main_div = self.document.getroot()
|
||||
self.element_title_selector = "h1"
|
||||
self.element_author_selector = "div.name>span"
|
||||
self.element_body_selector = "h2"
|
||||
self.element_title_selector = "h1"
|
||||
|
||||
def get_body(self):
|
||||
element_body = self.get_element_body()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue