From a32a230fc9e18c37a55ead12e22c51ce81010c16 Mon Sep 17 00:00:00 2001 From: Kennyl Date: Tue, 24 Jan 2017 01:13:22 +0800 Subject: [PATCH] Fix Video Player Space flow-player parent div to display none --- recipes/apple_daily.recipe | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes/apple_daily.recipe b/recipes/apple_daily.recipe index 81c2aebe65..98828bfd56 100644 --- a/recipes/apple_daily.recipe +++ b/recipes/apple_daily.recipe @@ -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: