From 31a66647109d15250a7456665d1dba84e4d97d5f Mon Sep 17 00:00:00 2001 From: unkn0wn <51942695+unkn0w7n@users.noreply.github.com> Date: Fri, 27 Jun 2025 11:08:15 +0530 Subject: [PATCH] Update muy_interesante_mexico.recipe --- recipes/muy_interesante_mexico.recipe | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/recipes/muy_interesante_mexico.recipe b/recipes/muy_interesante_mexico.recipe index 9aebe50a0e..32050060b7 100644 --- a/recipes/muy_interesante_mexico.recipe +++ b/recipes/muy_interesante_mexico.recipe @@ -22,10 +22,7 @@ class MuyInteresante(BasicNewsRecipe): soup = self.index_to_soup( 'https://www.magzter.com/ES/Zinet-Media-Global/Muy-Interesante-Espa%C3%B1a/Science/1806044' ) - 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'] extra_css = ''' .c-detail__bar, .c-detail__author, .c-detail__media__txt { font-size:small; }