remove useless method

This commit is contained in:
Juke 2011-02-03 01:20:24 +01:00 committed by Romain Bignon
commit a85f63b401
2 changed files with 1 additions and 3 deletions

View file

@ -34,4 +34,4 @@ class Newspaper20minutesBrowser(BaseBrowser):
def get_content(self, url):
self.location(url)
return self.page.get_content()
return self.page.article

View file

@ -40,5 +40,3 @@ class ArticlePage(BasePage):
self.article.author = element_author.text_content().strip()
self.article.body = self.browser.parser.tostring(element_body)
def get_content(self):
return self.article