예제 #1
0
 def get_author(self):
     author = GenericNewsPage.get_author(self)
     try:
         source = self.document.getroot().xpath("//span[@class='sourceinfo']/a")[0]
         source = source.text
         author = author + " | " + source
         return author
     except:
         return author
예제 #2
0
파일: article.py 프로젝트: lissyx/weboob
 def get_author(self):
     author = GenericNewsPage.get_author(self)
     try:
         source = self.document.getroot().xpath(
                 "//span[@class='sourceinfo']/a")[0]
         source = source.text
         author = author + " | " + source
         return author
     except:
         return author
예제 #3
0
파일: article.py 프로젝트: lissyx/weboob
 def get_title(self):
     title = GenericNewsPage.get_title(self)
     title = title.split('|')[0]
     return title
예제 #4
0
 def get_title(self):
     title = GenericNewsPage.get_title(self)
     return title.replace(u' - Libération', '')
예제 #5
0
 def get_title(self):
     title = GenericNewsPage.get_title(self)
     return title
예제 #6
0
파일: article.py 프로젝트: Boussadia/weboob
 def get_title(self):
     title = GenericNewsPage.get_title(self)
     return title.replace(u' - Libération', '')