Update financial_times_us.recipe

This commit is contained in:
Shivan Sornarajah 2016-07-17 16:30:50 +01:00 committed by GitHub
parent 9379904f70
commit b68030f1d7

View File

@ -111,7 +111,7 @@ class FinancialTimes(BasicNewsRecipe):
section_title = 'Untitled' section_title = 'Untitled'
for column in soup.findAll('div', attrs={'class':'feedBoxes clearfix'}): for column in soup.findAll('div', attrs={'class':'feedBoxes clearfix'}):
for section in column. findAll('div', attrs={'class':'feedBox'}): for section in column.findAll('div', attrs={'class':'feedBox'}):
sectiontitle=self.tag_to_string(section.find('h4')) sectiontitle=self.tag_to_string(section.find('h4'))
if '...' not in sectiontitle: if '...' not in sectiontitle:
section_title=sectiontitle section_title=sectiontitle