Fix ecrans.fr backend

Since ecrans.fr is not a website itself, but part of liberations.fr,
we can except some bugs in the next few weeks.
This commit is contained in:
Florent 2013-09-25 12:33:42 +02:00
commit fcc4f7b5d5
2 changed files with 4 additions and 3 deletions

View file

@ -39,5 +39,6 @@ class NewspaperEcransBrowser(BaseBrowser):
def get_content(self, _id):
"return page article content"
self.location(_id)
return self.page.get_article(_id)
url = _id.replace('/rss/53', '')
self.location(url)
return self.page.get_article(url)