mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Merge branch 'appledaily-patch-20170124' of https://github.com/Kennyl/calibre
This commit is contained in:
commit
7d60a35f53
@ -253,6 +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
|
||||
soup = BeautifulSoup(src)
|
||||
body = soup.find('body')
|
||||
if body is not None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user