From 265835d2809661018a80fd412950162843a41c2a Mon Sep 17 00:00:00 2001 From: unkn0wn <51942695+unkn0w7n@users.noreply.github.com> Date: Fri, 27 Jun 2025 11:07:39 +0530 Subject: [PATCH] Update hindu_business_line.recipe magzter cover --- recipes/hindu_business_line.recipe | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/recipes/hindu_business_line.recipe b/recipes/hindu_business_line.recipe index c71e0312ad..592fb618d6 100644 --- a/recipes/hindu_business_line.recipe +++ b/recipes/hindu_business_line.recipe @@ -24,10 +24,7 @@ class BusinessLine(BasicNewsRecipe): soup = self.index_to_soup( 'https://www.magzter.com/IN/THG-publishing-pvt-ltd/The-Hindu-Business-Line/Newspaper/' ) - for citem in soup.findAll( - 'meta', content=lambda s: s and s.endswith('view/3.jpg') - ): - return citem['content'] + return soup.find('img', id=lambda s: s and 'mgd__lhd__cover' in s.split())['src'] keep_only_tags = [ classes(