Catch alls blogs
This commit is contained in:
parent
2e8598450d
commit
774c02fccf
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ class ArticlePage(GenericNewsPage):
|
|||
self.element_body_selector = "div.article-body"
|
||||
|
||||
def get_body(self):
|
||||
if 'feuilletons.blogs.liberation.fr' in self.url:
|
||||
if '.blogs.liberation.fr/' in self.url:
|
||||
self.element_body_selector = "div.entry-content"
|
||||
try:
|
||||
return self.parser.tostring(self.get_element_body())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue