Update WSJ

This commit is contained in:
Kovid Goyal 2013-05-24 08:50:45 +05:30
parent 6d39634178
commit aabb11551d

View File

@ -112,7 +112,7 @@ class WallStreetJournal(BasicNewsRecipe):
if date is not None:
self.timefmt = ' [%s]'%self.tag_to_string(date)
cov = soup.find('div', attrs={'class':'itpSectionHeaderPdf'})
cov = soup.find('div', attrs={'class':lambda x: x and 'itpSectionHeaderPdf' in x.split()})
if cov is not None:
a = cov.find('a', href=True)
if a is not None: