From cf9fb04dbfd5dc7dcba8c56643d01719bd67465a Mon Sep 17 00:00:00 2001 From: unkn0wn <51942695+unkn0w7n@users.noreply.github.com> Date: Fri, 27 Jun 2025 11:05:54 +0530 Subject: [PATCH] Update the_week.recipe magzter cover --- recipes/the_week.recipe | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/recipes/the_week.recipe b/recipes/the_week.recipe index 0e898bd3a0..7aa96b4dac 100644 --- a/recipes/the_week.recipe +++ b/recipes/the_week.recipe @@ -44,10 +44,7 @@ class TheWeek(BasicNewsRecipe): soup = self.index_to_soup( 'https://www.magzter.com/IN/Malayala_Manorama/THE_WEEK/Business/' ) - 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'] def parse_index(self): issue = 'https://www.theweek.in/theweek.html'