This commit is contained in:
Kovid Goyal 2010-01-20 21:15:12 -07:00
parent 46fa724b0a
commit 419b7e42b3

View File

@ -91,9 +91,7 @@ class WallStreetJournal(BasicNewsRecipe):
url = url.partition('#')[0] url = url.partition('#')[0]
desc = '' desc = ''
d = x.findNextSibling(True) d = x.findNextSibling(True)
if d is None: if d is not None and d.get('class', None) == 'arialResize':
continue
if d.get('class', None) == 'arialResize':
desc = self.tag_to_string(d) desc = self.tag_to_string(d)
desc = desc.partition(u'\u2022')[0] desc = desc.partition(u'\u2022')[0]
self.log('\t\tFound article:', title) self.log('\t\tFound article:', title)