From 09ee23dd1ce8be3e532b7c688486d87a9409d15d Mon Sep 17 00:00:00 2001 From: unkn0w7n <51942695+unkn0w7n@users.noreply.github.com> Date: Thu, 30 May 2024 17:58:40 +0530 Subject: [PATCH] ... --- recipes/livemint.recipe | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes/livemint.recipe b/recipes/livemint.recipe index c6cb471def..8eb4586b06 100644 --- a/recipes/livemint.recipe +++ b/recipes/livemint.recipe @@ -94,7 +94,8 @@ class LiveMint(BasicNewsRecipe): ''' keep_only_tags = [ - dict(name='article', attrs={'id':lambda x: x and x.startswith(('article_', 'box_', 'storyPage_storyBox__'))}), + dict(name='article', attrs={'id':lambda x: x and x.startswith(('article_', 'box_'))}), + dict(attrs={'class':lambda x: x and x.startswith('storyPage_storyBox__')}), classes('contentSec') ] remove_tags = [