mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
46fa724b0a
commit
419b7e42b3
@ -91,9 +91,7 @@ class WallStreetJournal(BasicNewsRecipe):
|
||||
url = url.partition('#')[0]
|
||||
desc = ''
|
||||
d = x.findNextSibling(True)
|
||||
if d is None:
|
||||
continue
|
||||
if d.get('class', None) == 'arialResize':
|
||||
if d is not None and d.get('class', None) == 'arialResize':
|
||||
desc = self.tag_to_string(d)
|
||||
desc = desc.partition(u'\u2022')[0]
|
||||
self.log('\t\tFound article:', title)
|
||||
|
Loading…
x
Reference in New Issue
Block a user