Update muy_interesante_mexico.recipe

This commit is contained in:
unkn0wn 2025-06-27 11:08:15 +05:30 committed by GitHub
parent 265835d280
commit 31a6664710
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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; }