mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
pep8
This commit is contained in:
parent
313b7f3454
commit
57398ee050
@ -102,8 +102,7 @@ class GN(BasicNewsRecipe):
|
||||
for r in soup.findAll(attrs={'class': 'pgr'}):
|
||||
r.extract()
|
||||
for r in soup.findAll(attrs={'class': 'cm-i-a'}):
|
||||
r.replaceWith('<div style="clear:both"></div>' +
|
||||
r.prettify() + '<div style="clear:both"></div>')
|
||||
r.replaceWith('<div style="clear:both"></div>' + r.prettify() + '<div style="clear:both"></div>')
|
||||
return soup
|
||||
|
||||
keep_only_tags = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user