mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-23 02:25:25 +01:00
Update WSJ
This commit is contained in:
parent
6d39634178
commit
aabb11551d
1 changed files with 1 additions and 1 deletions
|
|
@ -112,7 +112,7 @@ def parse_index(self):
|
|||
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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue