From aabb11551d187d35c1aaa4c0146686f4f0de1cf7 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 24 May 2013 08:50:45 +0530 Subject: [PATCH] Update WSJ --- recipes/wsj.recipe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/wsj.recipe b/recipes/wsj.recipe index a4c1d70bc2..8c68668745 100644 --- a/recipes/wsj.recipe +++ b/recipes/wsj.recipe @@ -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: