mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Update WSJ
This commit is contained in:
parent
6d39634178
commit
aabb11551d
@ -112,7 +112,7 @@ class WallStreetJournal(BasicNewsRecipe):
|
|||||||
if date is not None:
|
if date is not None:
|
||||||
self.timefmt = ' [%s]'%self.tag_to_string(date)
|
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:
|
if cov is not None:
|
||||||
a = cov.find('a', href=True)
|
a = cov.find('a', href=True)
|
||||||
if a is not None:
|
if a is not None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user