mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Remove Div's style safer than before
display:none change to nothing
This commit is contained in:
parent
86f5bb8c6d
commit
fa0279ec41
@ -253,7 +253,7 @@ class AppleDaily(BasicNewsRecipe):
|
||||
if os.path.exists(last):
|
||||
with open(last, 'rb') as fi:
|
||||
src = fi.read().decode('utf-8')
|
||||
src = src.replace('height:260px !important;','display:none') #fix flow-player div tag parent
|
||||
src = src.replace('height:260px !important;','') #fix flow-player div tag parent
|
||||
soup = BeautifulSoup(src)
|
||||
body = soup.find('body')
|
||||
if body is not None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user