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