[lefigaro] fix : site changed
This commit is contained in:
parent
32e265a943
commit
7492c0bdc4
3 changed files with 7 additions and 8 deletions
|
|
@ -27,7 +27,7 @@ class FlashActuPage(GenericNewsPage):
|
|||
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_body_selector = "article, fig-article-body"
|
||||
|
||||
def get_body(self):
|
||||
element_body = self.get_element_body()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue